static <T> NonEmptyStream<T> |
NonEmptyStream.concat(Stream<? extends T> a,
NonEmptyStream<? extends T> b) |
|
static <T> NonEmptyStream<T> |
NonEmptyStream.concat(NonEmptyStream<? extends T> a,
Stream<? extends T> b) |
|
static <T> NonEmptyStream<T> |
NonEmptyStream.concat(NonEmptyStream<? extends T> a,
NonEmptyStream<? extends T> b) |
|
NonEmptyStream<T> |
NonEmptyStream.distinct() |
|
<R> NonEmptyStream<R> |
NonEmptyStream.flatMap(ToNonEmptyStreamFunction<? super T,? extends R> mapper) |
Returns a stream consisting of the results of replacing each element of this stream with
the contents of a mapped stream produced by applying the provided mapping function to each element.
|
static <T> NonEmptyStream<T> |
NonEmptyStream.generate(Supplier<T> s) |
|
static <T> NonEmptyStream<T> |
NonEmptyStream.iterate(T seed,
UnaryOperator<T> f) |
|
NonEmptyStream<T> |
NonEmptyStream.limitToNonEmpty(long maxSizeMoreThanZero) |
Returns a stream consisting of the elements of this stream, truncated to be
no longer than maxSizeMoreThanZero in length.
|
<R> NonEmptyStream<R> |
NonEmptyStream.map(Function<? super T,? extends R> mapper) |
|
static <T> NonEmptyStream<T> |
NonEmptyStream.of(Supplier<? extends T> firstElement,
Stream<T> remainingElements) |
Create a non-empty stream where the first element is resolved
from a Supplier, and remaining elements are provided
from another stream.
|
static <T> NonEmptyStream<T> |
NonEmptyStream.of(T singleElement) |
Create a non-empty stream containing a single element.
|
static <T> NonEmptyStream<T> |
NonEmptyStream.of(T firstElement,
Stream<T> remainingElements) |
Create a non-empty stream whose elements are a given first value,
and remaining elements are provided from another stream.
|
static <T> NonEmptyStream<T> |
NonEmptyStream.of(T firstElement,
T... remainingElements) |
Create a non-empty stream whose elements are the specified values.
|
NonEmptyStream<T> |
NonEmptyStream.onClose(Runnable closeHandler) |
|
NonEmptyStream<T> |
NonEmptyStream.parallel() |
|
NonEmptyStream<T> |
NonEmptyStream.peek(Consumer<? super T> action) |
|
NonEmptyStream<T> |
NonEmptyStream.sequential() |
|
NonEmptyStream<T> |
NonEmptyStream.sorted() |
|
NonEmptyStream<T> |
NonEmptyStream.sorted(Comparator<? super T> comparator) |
|
NonEmptyStream<T> |
NonEmptyStream.unordered() |
|