Class OverlapBufferStreamId<T>

  • Type Parameters:
    T - the type of the data stream
    All Implemented Interfaces:
    java.io.Serializable, StreamId<java.util.List<T>>

    public class OverlapBufferStreamId<T>
    extends java.lang.Object
    implements StreamId<java.util.List<T>>, java.io.Serializable
    Provide an overlapping buffer for the specified source id. The buffer begins whenever BufferSpecification.startId() stream emits an item and ends when one of the BufferSpecification.endStreamMatchers() } matches an end. Optionally, it is possible to specify a timeout for the closing stream in case it does not emit items.

    The behavior is very similar to the buffer(Observable<TOpening> bufferOpenings, Func1<TOpening, Observable <TClosing>> bufferClosingSelector) RxJava 1 operator.

    See Also:
    OverlapBufferStreamFactory, RxJava 1 buffer documentation, Serialized Form
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object