Package | Description |
---|---|
com.codepoetics.protonpack |
Modifier and Type | Method and Description |
---|---|
static <T> Indexed<T> |
Indexed.index(long index,
T value)
Combine an index and a value into an indexed value.
|
Modifier and Type | Method and Description |
---|---|
static <T> java.util.stream.Stream<Indexed<T>> |
StreamUtils.zipWithIndex(java.util.stream.Stream<T> source)
Zip the source stream together with the stream of indices() to provide a stream of indexed values.
|
Copyright © 2015. All rights reserved.