| Package | Description |
|---|---|
| eu.hanskruse.noaber |
Noaber utility library.
|
| Modifier and Type | Method and Description |
|---|---|
default Streamable<T> |
Streamable.concat(Streamable<T>... streamables)
Concatenenats streameables.
|
static <T1> Streamable<T1> |
Streamable.concat(Streamable<T1> head,
Streamable<T1>... tail)
Concatenate Streamables.
|
default Streamable<T> |
Streamable.distinct()
Filters a
Streamable in to a Streamable of distinct values. |
default Streamable<T> |
Streamable.filter(Predicate<? super T> predicate) |
default <R> Streamable<R> |
Streamable.flatMap(Function<? super T,? extends Streamable<? extends R>> mapper)
Lazily maps over the elements given the provided flat mapping function.
|
default Streamable<T> |
Streamable.limit(long maxSize)
Limits the
Streamable to maxSize elements. |
default <R> Streamable<R> |
Streamable.map(Function<? super T,? extends R> mapper)
Lazily maps over the elements given the provided mapping function.
|
default Streamable<T> |
Streamable.parallel()
Parallelizes the
Stream provided by this
Streamable. |
default Streamable<T> |
Streamable.peek(Consumer<? super T> action)
Inserts an action into the stream execution.
|
default Streamable<T> |
Streamable.sequential()
Unparallelizes the
Stream provided by this
Streamable. |
default Streamable<T> |
Streamable.skip(Long n)
Skip {code n} elemenents in the {link java.util.stream.Stream}
|
default Streamable<T> |
Streamable.sorted()
Sorts the
Stream provided by this
Streamable. |
default Streamable<T> |
Streamable.sorted(Comparator<? super T> comparator)
Sorts the
Stream provided by this
Streamable. |
default Streamable<T> |
Streamable.unordered()
Allows the
Stream provided by this
Streamable to be unordered |
| Modifier and Type | Method and Description |
|---|---|
default Streamable<T> |
Streamable.concat(Streamable<T>... streamables)
Concatenenats streameables.
|
static <T1> Streamable<T1> |
Streamable.concat(Streamable<T1> head,
Streamable<T1>... tail)
Concatenate Streamables.
|
static <T1> Streamable<T1> |
Streamable.concat(Streamable<T1> head,
Streamable<T1>... tail)
Concatenate Streamables.
|
| Modifier and Type | Method and Description |
|---|---|
default <R> Streamable<R> |
Streamable.flatMap(Function<? super T,? extends Streamable<? extends R>> mapper)
Lazily maps over the elements given the provided flat mapping function.
|
Copyright © 2021. All rights reserved.