Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
|
Modifier and Type | Method and Description |
---|---|
static <T,R> Stream<R> |
Streams.mapWithIndex(Stream<T> stream,
Streams.FunctionWithIndex<? super T,? extends R> function)
Returns a stream consisting of the results of applying the given function to the elements of
stream and their indices in the stream. |
Copyright © 2010–2019. All rights reserved.