static <T> java.util.stream.Stream<Pair<java.lang.Integer,T>> |
Pair.indexedPairStream(int from,
int to,
java.util.function.IntFunction<? extends T> valueSupplier) |
Returns a Stream out of the elements returned by a supplier, made of Pair s
(index, value) .
|
static <T> java.util.stream.Stream<Pair<java.lang.Integer,T>> |
Pair.indexedPairStream(int from,
int to,
java.util.function.IntFunction<? extends T> valueSupplier,
java.util.function.IntUnaryOperator rebaser) |
Returns a Stream out of the elements returned by a supplier, made of Pair s
(index, value) .
|
static <T,I> java.util.stream.Stream<Pair<I,T>> |
Pair.indexedPairStream(int from,
int to,
java.util.function.IntFunction<? extends T> valueSupplier,
java.util.function.IntUnaryOperator rebaser,
java.util.function.IntFunction<? extends I> indexTransformer) |
Returns a Stream out of the elements returned by a supplier, made of Pair s
(index, value) .
|
static <T> java.util.stream.Stream<Pair<java.lang.Integer,T>> |
Pair.indexedPairStream(java.lang.Iterable<? extends T> iterable) |
Returns a Stream out of the elements in a given Iterable made of Pair s (index,
value) .
|
static <I,T> java.util.stream.Stream<Pair<I,T>> |
Pair.indexedPairStream(java.lang.Iterable<? extends T> iterable,
java.util.function.IntFunction<? extends I> indexTransformer) |
Returns a Stream out of the elements in a given Iterable made of Pair s (index,
value) .
|
static <T> java.util.stream.Stream<Pair<java.lang.Integer,T>> |
Pair.indexedPairStream(java.lang.Iterable<? extends T> iterable,
java.util.function.IntUnaryOperator rebaser) |
Returns a Stream out of the elements in a given Iterable made of Pair s (index,
value) .
|
static <I,T> java.util.stream.Stream<Pair<I,T>> |
Pair.indexedPairStream(java.lang.Iterable<? extends T> iterable,
java.util.function.IntUnaryOperator rebaser,
java.util.function.IntFunction<? extends I> indexTransformer) |
Returns a Stream out of the elements returned by an iterable, made of Pair s
(index, value) .
|
static <T> java.util.stream.Stream<Pair<java.lang.Integer,T>> |
Pair.indexedPairStream(java.util.stream.Stream<? extends T> stream) |
Returns a Stream out of the elements in a given Stream made of Pair s (index,
value) .
|
static <I,T> java.util.stream.Stream<Pair<I,T>> |
Pair.indexedPairStream(java.util.stream.Stream<? extends T> stream,
java.util.function.IntFunction<? extends I> indexTransformer) |
Returns a Stream out of the elements in a given Stream made of Pair s (index,
value) .
|
static <T> java.util.stream.Stream<Pair<java.lang.Integer,T>> |
Pair.indexedPairStream(java.util.stream.Stream<? extends T> stream,
java.util.function.IntUnaryOperator rebaser) |
Returns a Stream out of the elements in a given Stream made of Pair s (index,
value) .
|
static <I,T> java.util.stream.Stream<Pair<I,T>> |
Pair.indexedPairStream(java.util.stream.Stream<? extends T> stream,
java.util.function.IntUnaryOperator rebaser,
java.util.function.IntFunction<? extends I> indexTransformer) |
Returns a Stream out of the elements returned by a Stream, made of Pair s
(index, value) .
|
static <T> java.util.stream.Stream<Pair<java.lang.Integer,T>> |
Pair.indexedPairStream(T[] array) |
Returns a Stream out of the elements in a given array made of Pair s (index, value) .
|
static <I,T> java.util.stream.Stream<Pair<I,T>> |
Pair.indexedPairStream(T[] array,
java.util.function.IntFunction<? extends I> indexTransformer) |
Returns a Stream out of the elements in a given array made of Pair s (index, value) .
|
static <T> java.util.stream.Stream<Pair<java.lang.Integer,T>> |
Pair.indexedPairStream(T[] array,
java.util.function.IntUnaryOperator rebaser) |
Returns a Stream out of the elements in the array, made of Pair s (index, value) .
|
static <T,I> java.util.stream.Stream<Pair<I,T>> |
Pair.indexedPairStream(T[] array,
java.util.function.IntUnaryOperator rebaser,
java.util.function.IntFunction<? extends I> indexTransformer) |
Returns a Stream out of the elements in the array, made of Pair s (index, value) .
|
static <T> java.util.stream.Stream<Pair<T,java.lang.Integer>> |
Pair.pairRange(T value,
int from,
int to) |
Creates a Stream of Pair s composed of a given fixed value and an integer in the given range.
|
static <T> java.util.stream.Stream<Pair<T,java.lang.Integer>> |
Pair.pairRangeClosed(T value,
int from,
int to) |
Creates a Stream of Pair s composed of a given fixed value and an integer in the given range.
|
static <A,B> java.util.stream.Collector<Pair<A,B>,?,java.util.Map<A,B>> |
Pair.pairsToMap() |
A Collector that produces a Map whose key is field a and value field b .
|
static <T,U> java.util.stream.Stream<Pair<T,U>> |
Pair.pairStream(T value,
java.util.stream.Stream<? extends U> stream) |
Creates a Stream of Pair s composed of a given fixed value and another element taken from another
Stream .
|
static <A,B> java.util.stream.Stream<Pair<A,B>> |
Pair.zip(java.util.stream.Stream<? extends A> streamA,
java.util.stream.Stream<? extends B> streamB) |
Zips two streams into a stream of Pair s.
|
static <A,B> java.util.stream.Stream<Pair<A,B>> |
StreamUtils.zip(java.util.stream.Stream<? extends A> streamA,
java.util.stream.Stream<? extends B> streamB) |
Zips two streams.
|