| Modifier and Type | Method and Description |
|---|---|
static <T> PipeEnumerator<T> |
PipeEnumerator.of(Iterator<T> source)
Creates a
PipeEnumerator based on the given source
Iterator. |
protected PipeEnumerator<E> |
PipeEnumerator.pushFrontFilterProcessor(Predicate<?> filter)
Prepends the given filter to the existing pipeline by aggregating it with
the first filters, if possible.
|
protected <X> PipeEnumerator<E> |
PipeEnumerator.pushFrontMapProcessor(Function<? super X,?> mapper)
Prepends the given mapper to the existing pipeline by aggregating it with
the first mappers, if possible.
|
protected <X> PipeEnumerator<E> |
PipeEnumerator.pushFrontProcessor(AbstractPipeMultiProcessor<? super X,?> processor)
Adds the given
processor to the front of the multi-pipeline. |
protected <X> PipeEnumerator<E> |
PipeEnumerator.pushFrontProcessor(AbstractPipeProcessor<? super X,?> processor)
Adds the given
processor to the front of the pipeline. |
PipeEnumerator<E> |
PipeEnumerator.reversedConcat(Iterator<?> elements)
Prepends the given
elements at the front of sources. |
PipeEnumerator<E> |
PipeEnumerator.reversedFilter(Predicate<?> predicate)
Adds a filter processor at the front of the
pipeline. |
PipeEnumerator<E> |
PipeEnumerator.reversedFlatMap(Function<?,? extends Iterator<?>> mapper)
Adds a flat-map processor at the front of
pipeline. |
<X> PipeEnumerator<E> |
PipeEnumerator.reversedMap(Function<? super X,?> mapper)
Adds a map processor at the front of
pipeline. |
PipeEnumerator<E> |
PipeEnumerator.reversedSkipWhile(Predicate<?> predicate)
Adds a skip-while processor at the front of
pipeline. |
PipeEnumerator<E> |
PipeEnumerator.reversedTakeWhile(Predicate<?> predicate)
Adds a take-while processor at the front of
pipeline. |
PipeEnumerator<E> |
PipeEnumerator.reversedZipAll(Iterator<?> first,
List<Iterator<?>> rest)
Adds a zip-all processor at the front of
pipeline. |
PipeEnumerator<E> |
PipeEnumerator.setSource(Iterator<?> elements)
Sets the source of enumeration.
|
Copyright © 2016. All rights reserved.