Uses of Class
no.digipost.stream.NonEmptyStream
Packages that use NonEmptyStream
-
Uses of NonEmptyStream in no.digipost.collection
Methods in no.digipost.collection that return NonEmptyStream -
Uses of NonEmptyStream in no.digipost.stream
Methods in no.digipost.stream that return NonEmptyStreamModifier and TypeMethodDescriptionstatic <T> NonEmptyStream<T>NonEmptyStream.concat(Stream<? extends T> a, NonEmptyStream<? extends T> b) Create a stream by concatenating a regularStreamfollowed by aNonEmptyStream, in the same manner asStream.concat(Stream, Stream).static <T> NonEmptyStream<T>NonEmptyStream.concat(NonEmptyStream<? extends T> a, Stream<? extends T> b) Create a stream by concatenating aNonEmptyStreamfollowed by a regularStream, in the same manner asStream.concat(Stream, Stream).static <T> NonEmptyStream<T>NonEmptyStream.concat(NonEmptyStream<? extends T> a, NonEmptyStream<? extends T> b) Create a stream by concatenating two non-empty streams, in the same manner asStream.concat(Stream, Stream).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>Create the same stream as produced byStream.generate(Supplier), but typed asNonEmptyStream.static <T> NonEmptyStream<T>NonEmptyStream.iterate(T seed, UnaryOperator<T> f) Create the same stream as produced byStream.iterate(Object, UnaryOperator), but typed asNonEmptyStream.NonEmptyStream.limitToNonEmpty(long maxSizeMoreThanZero) Returns a stream consisting of the elements of this stream, truncated to be no longer thanmaxSizeMoreThanZeroin length.<R> NonEmptyStream<R>static <T> NonEmptyStream<T>Create a non-empty stream where the first element is resolved from aSupplier, 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>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.parallel()NonEmptyStream.sequential()NonEmptyStream.sorted()NonEmptyStream.sorted(Comparator<? super T> comparator) NonEmptyStream.unordered()Methods in no.digipost.stream with parameters of type NonEmptyStreamModifier and TypeMethodDescriptionstatic <T> NonEmptyStream<T>NonEmptyStream.concat(Stream<? extends T> a, NonEmptyStream<? extends T> b) Create a stream by concatenating a regularStreamfollowed by aNonEmptyStream, in the same manner asStream.concat(Stream, Stream).static <T> NonEmptyStream<T>NonEmptyStream.concat(NonEmptyStream<? extends T> a, Stream<? extends T> b) Create a stream by concatenating aNonEmptyStreamfollowed by a regularStream, in the same manner asStream.concat(Stream, Stream).static <T> NonEmptyStream<T>NonEmptyStream.concat(NonEmptyStream<? extends T> a, NonEmptyStream<? extends T> b) Create a stream by concatenating two non-empty streams, in the same manner asStream.concat(Stream, Stream).