static <T> java.util.stream.Stream<Pair<java.lang.Integer,T>> |
Pair.indexedPairStream(int from,
int to,
java.util.function.IntFunction<T> valueSupplier) |
Returns a Stream out of the elements returned by a supplier, made of Pairs
(index, value).
|
static <T> java.util.stream.Stream<Pair<java.lang.Integer,T>> |
Pair.indexedPairStream(int from,
int to,
java.util.function.IntFunction<T> valueSupplier,
java.util.function.IntUnaryOperator rebaser) |
Returns a Stream out of the elements returned by a supplier, made of Pairs
(index, value).
|
static <T,I> java.util.stream.Stream<Pair<I,T>> |
Pair.indexedPairStream(int from,
int to,
java.util.function.IntFunction<T> valueSupplier,
java.util.function.IntUnaryOperator rebaser,
java.util.function.IntFunction<I> indexTransformer) |
Returns a Stream out of the elements returned by a supplier, made of Pairs
(index, value).
|
static <T> java.util.stream.Stream<Pair<java.lang.Integer,T>> |
Pair.indexedPairStream(java.lang.Iterable<T> iterable) |
Returns a Stream out of the elements in a given Iterable made of Pairs (index,
value).
|
static <I,T> java.util.stream.Stream<Pair<I,T>> |
Pair.indexedPairStream(java.lang.Iterable<T> iterable,
java.util.function.IntFunction<I> indexTransformer) |
Returns a Stream out of the elements in a given Iterable made of Pairs (index,
value).
|
static <T> java.util.stream.Stream<Pair<java.lang.Integer,T>> |
Pair.indexedPairStream(java.lang.Iterable<T> iterable,
java.util.function.IntUnaryOperator rebaser) |
Returns a Stream out of the elements in a given Iterable made of Pairs (index,
value).
|
static <I,T> java.util.stream.Stream<Pair<I,T>> |
Pair.indexedPairStream(java.lang.Iterable<T> iterable,
java.util.function.IntUnaryOperator rebaser,
java.util.function.IntFunction<I> indexTransformer) |
Returns a Stream out of the elements returned by an iterable, made of Pairs
(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 Pairs (index, value).
|
static <I,T> java.util.stream.Stream<Pair<I,T>> |
Pair.indexedPairStream(T[] array,
java.util.function.IntFunction<I> indexTransformer) |
Returns a Stream out of the elements in a given array made of Pairs (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 Pairs (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<I> indexTransformer) |
Returns a Stream out of the elements in the array, made of Pairs (index, value).
|
static <A,B> java.util.stream.Collector<? super 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.
|