Class OperatorWindowWithTime<T>

  • Type Parameters:
    T - the value type
    All Implemented Interfaces:
    Func1<Subscriber<? super Observable<T>>,Subscriber<? super T>>, Function, Observable.Operator<Observable<T>,T>


    public final class OperatorWindowWithTime<T>
    extends Object
    implements Observable.Operator<Observable<T>,T>
    Creates windows of values into the source sequence with timed window creation, length and size bounds. If timespan == timeshift, windows are non-overlapping but may not be continuous if size number of items were already emitted. If more items arrive after the window has reached its size bound, those items are dropped.

    Note that this conforms the Rx.NET behavior, but does not match former RxJava behavior, which operated as a regular buffer and mapped its lists to Observables.