T - public class SeqSubscriber<T> extends java.lang.Object implements org.reactivestreams.Subscriber<T>, java.util.function.Supplier<T>, ConvertableSequence<T>
SeqSubscriber<Integer> ints = SeqSubscriber.subscriber();
ReactiveSeq.of(1,2,3)
.publish(ints);
ListX list = ints.toListX();
| Modifier | Constructor and Description |
|---|---|
protected |
SeqSubscriber() |
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
java.util.Iterator<T> |
iterator() |
void |
onComplete() |
void |
onError(java.lang.Throwable t) |
void |
onNext(T t) |
void |
onSubscribe(org.reactivestreams.Subscription s) |
java.util.Spliterator<T> |
spliterator() |
static <T> SeqSubscriber<T> |
subscriber() |
static <T> SeqSubscriber<T> |
subscriber(java.lang.Runnable onComplete) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitseq, stream, toCompletableFuture, toDequeX, toEvalAlways, toEvalLater, toEvalNow, toFutureStream, toFutureStream, toFutureW, toIor, toIorSecondary, toListX, toMapX, toMaybe, toOptional, toPBagX, toPMapX, toPOrderedSetX, toPQueueX, toPSetX, toPStackX, toPVectorX, toQueueX, toSetX, toSimpleReact, toSimpleReact, toSortedSetX, toStreamable, toTry, toValue, toValueMap, toValueSet, toXor, toXorSecondarypublic static <T> SeqSubscriber<T> subscriber(java.lang.Runnable onComplete)
public static <T> SeqSubscriber<T> subscriber()
public void onSubscribe(org.reactivestreams.Subscription s)
onSubscribe in interface org.reactivestreams.Subscriber<T>public void onError(java.lang.Throwable t)
onError in interface org.reactivestreams.Subscriber<T>public void onComplete()
onComplete in interface org.reactivestreams.Subscriber<T>public java.util.Iterator<T> iterator()
iterator in interface java.lang.Iterable<T>