public static final class NbpOperatorGroupBy.GroupBySubscriber<T,K,V> extends java.util.concurrent.atomic.AtomicInteger implements NbpObservable.NbpSubscriber<T>, Disposable
| Constructor and Description |
|---|
GroupBySubscriber(NbpObservable.NbpSubscriber<? super NbpGroupedObservable<K,V>> actual,
Function<? super T,? extends K> keySelector,
Function<? super T,? extends V> valueSelector,
int bufferSize,
boolean delayError) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(K key) |
void |
dispose()
Dispose the resource, the operation should be idempotent.
|
void |
onComplete() |
void |
onError(java.lang.Throwable t) |
void |
onNext(T t) |
void |
onSubscribe(Disposable s) |
accumulateAndGet, addAndGet, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, incrementAndGet, intValue, lazySet, longValue, set, toString, updateAndGet, weakCompareAndSetpublic GroupBySubscriber(NbpObservable.NbpSubscriber<? super NbpGroupedObservable<K,V>> actual, Function<? super T,? extends K> keySelector, Function<? super T,? extends V> valueSelector, int bufferSize, boolean delayError)
public void onSubscribe(Disposable s)
onSubscribe in interface NbpObservable.NbpSubscriber<T>public void onNext(T t)
onNext in interface NbpObservable.NbpSubscriber<T>public void onError(java.lang.Throwable t)
onError in interface NbpObservable.NbpSubscriber<T>public void onComplete()
onComplete in interface NbpObservable.NbpSubscriber<T>public void dispose()
Disposabledispose in interface Disposablepublic void cancel(K key)