public static final < T > Transformer < T , List < T > > bufferWhile ( Func1 < ? super T , Boolean > predicate ) { return bufferWhile ( predicate , 10 ) ; }
Buffers the elements into continuous non - overlapping Lists where the boundary is determined by a predicate receiving each item before or after being buffered and returns true to indicate a new buffer should start .