T - the type of the data streampublic class OverlapBufferStreamId<T> extends java.lang.Object implements StreamId<java.util.List<T>>
sourceId. The buffer begins whenever #startId stream
emits an item and ends when the same item is emitted on the #endId stream. Optionally, it is possible to
specify a timeout for the closing stream in case it does not emit items. In the case of a timeout, the buffers will
be closed by whichever emit first, #endId or timout.
The behavior is very similar to the buffer(Observable<TOpening> bufferOpenings, Func1<TOpening, Observable
<TClosing>> bufferClosingSelector) RxJava 1 operator.
| Modifier and Type | Method and Description |
|---|---|
BufferSpecification |
bufferSpecification() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
static <T> OverlapBufferStreamId<T> |
of(StreamId<T> sourceId,
BufferSpecification bufferSpecification) |
StreamId<T> |
sourceId() |
java.lang.String |
toString() |
public static <T> OverlapBufferStreamId<T> of(StreamId<T> sourceId, BufferSpecification bufferSpecification)
public BufferSpecification bufferSpecification()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object