T - the type of the elementspublic static final class Buffer.WithSizeSkip<T> extends java.lang.Object implements Observable<java.util.List<T>>
| Modifier and Type | Field and Description |
|---|---|
protected int |
skip
The skip count.
|
| Constructor and Description |
|---|
WithSizeSkip(Observable<? extends T> source,
int bufferSize,
int skip)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super java.util.List<T>> observer)
Registers an observer for the notification of Ts.
|
public WithSizeSkip(Observable<? extends T> source, int bufferSize, int skip)
source - the source observablebufferSize - the target buffer sizeskip - the number of items to skip between buffers@Nonnull
public java.io.Closeable register(@Nonnull
Observer<? super java.util.List<T>> observer)
Observableregister in interface Observable<java.util.List<T>>observer - the observer of Ts or any supertype of it