- of(Map<K, V>) - Static method in interface com.codepoetics.protonpack.maps.MapStream
-
Construct a MapStream<K, V> from the map
- of(K, V) - Static method in interface com.codepoetics.protonpack.maps.MapStream
-
Construct a MapStream<K, V> from a single key-value pair
- of(K, V, K, V) - Static method in interface com.codepoetics.protonpack.maps.MapStream
-
Construct a MapStream<K, V> from a multiple key-value pairs
- of(K, V, K, V, K, V) - Static method in interface com.codepoetics.protonpack.maps.MapStream
-
Construct a MapStream<K, V> from a multiple key-value pairs
- of(K, V, K, V, K, V, K, V) - Static method in interface com.codepoetics.protonpack.maps.MapStream
-
Construct a MapStream<K, V> from a multiple key-value pairs
- of(K, V, K, V, K, V, K, V, K, V) - Static method in interface com.codepoetics.protonpack.maps.MapStream
-
Construct a MapStream<K, V> from a multiple key-value pairs
- of(T...) - Static method in interface com.codepoetics.protonpack.Seq
-
Creates a sequence containing zero or more items.
- of(List<T>) - Static method in interface com.codepoetics.protonpack.Seq
-
Creates a sequence from an ordered list
- of(Collection<T>) - Static method in interface com.codepoetics.protonpack.Seq
-
Creates a sequence from a collection
- of(Stream<T>) - Static method in interface com.codepoetics.protonpack.Seq
-
Creates a sequence from a stream by consing each item onto an initially empty stream.
- of(Supplier<Stream<T>>) - Static method in interface com.codepoetics.protonpack.Streamable
-
For converting method references to no-arg methods that return streams into streamable.
- of(T...) - Static method in interface com.codepoetics.protonpack.Streamable
-
Create a streamable that produces streams over an array of items.
- of(Collection<T>) - Static method in interface com.codepoetics.protonpack.Streamable
-
Create a streamable that produces streams over a collection of items.
- of(Iterable<T>) - Static method in interface com.codepoetics.protonpack.Streamable
-
Create a streamable that produces streams over an iterable of items.
- of(Optional<T>) - Static method in interface com.codepoetics.protonpack.Streamable
-
Create a streamable that produces streams of 0 or 1 elements over an optional value.
- ofAll(Streamable<T>...) - Static method in interface com.codepoetics.protonpack.Streamable
-
Concatenate a series of streamables together.
- ofMaps(Map<K, V>...) - Static method in interface com.codepoetics.protonpack.maps.MapStream
-
Construct a MapStream<K, V> from the map
- ofNullable(Iterable<T>) - Static method in class com.codepoetics.protonpack.StreamUtils
-
Converts a nullable Iterable into a Stream.
- ofNullable(int[]) - Static method in class com.codepoetics.protonpack.StreamUtils
-
Converts nullable int array into an empty stream, and non-null array into a stream.
- ofNullable(long[]) - Static method in class com.codepoetics.protonpack.StreamUtils
-
Converts nullable long array into an empty stream, and non-null array into a stream.
- ofNullable(double[]) - Static method in class com.codepoetics.protonpack.StreamUtils
-
Converts nullable float array into an empty stream, and non-null array into a stream.
- ofNullable(T[]) - Static method in class com.codepoetics.protonpack.StreamUtils
-
Converts nullable array into an empty stream, and non-null array into a stream.
- ofSingleNullable(T) - Static method in class com.codepoetics.protonpack.StreamUtils
-
Converts nulls into an empty stream, and non-null values into a stream with one element.
- onClose(Runnable) - Method in interface com.codepoetics.protonpack.maps.MapStream
-
- tail() - Method in interface com.codepoetics.protonpack.Seq
-
Get the remaining items in the sequence.
- takeMax() - Static method in class com.codepoetics.protonpack.selectors.Selectors
-
- takeMax(Comparator<? super T>) - Static method in class com.codepoetics.protonpack.selectors.Selectors
-
- takeMin() - Static method in class com.codepoetics.protonpack.selectors.Selectors
-
- takeMin(Comparator<? super T>) - Static method in class com.codepoetics.protonpack.selectors.Selectors
-
- takeUntil(Stream<T>, Predicate<T>) - Static method in class com.codepoetics.protonpack.StreamUtils
-
Construct a stream which takes values from the source stream until one of them meets the supplied condition,
and then stops.
- takeWhile(Stream<T>, Predicate<T>) - Static method in class com.codepoetics.protonpack.StreamUtils
-
Construct a stream which takes values from the source stream for as long as they meet the supplied condition, and stops
as soon as a value is encountered which does not meet the condition.
- toArray(IntFunction<T[]>) - Method in interface com.codepoetics.protonpack.Streamable
-
Stream this streamable, and collect the stream to an array.
- toFutureList() - Static method in class com.codepoetics.protonpack.collectors.CompletableFutures
-
Collector which converts a stream of CompletableFuture<T> into a CompletableFuture<List<T>>
- toList() - Method in interface com.codepoetics.protonpack.Streamable
-
Stream this streamable, and collect the stream to a list.
- toListComparator(Comparator<? super T>) - Static method in class com.codepoetics.protonpack.comparators.Comparators
-
- toMap(Function<? super T, ? extends K>) - Method in interface com.codepoetics.protonpack.Streamable
-
Stream this streamable, and collect the stream to a map, extracting keys with the supplied index function.
- toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Method in interface com.codepoetics.protonpack.Streamable
-
Stream this streamable, and collect the stream to a map, extracting keys and values with the supplied functions.
- toSeq() - Method in interface com.codepoetics.protonpack.Seq
-
- toSeq() - Method in interface com.codepoetics.protonpack.Streamable
-
Stream this streamable, and collect the stream into a Seq.
- toSet() - Method in interface com.codepoetics.protonpack.Streamable
-
Stream this streamable, and collect the stream to a set.
- transform(Function<Stream<T>, Stream<T2>>) - Method in interface com.codepoetics.protonpack.Streamable
-
Create a streamable that transforms the streams produced by this streamable with a stream transformer.
- TriFunction<A,B,C,R> - Interface in com.codepoetics.protonpack.functions
-