Package com.google.common.collect
Interface Streams.FunctionWithIndex<T extends @Nullable Object,R extends @Nullable Object>
- 
- Enclosing class:
- Streams
 
 @Beta public static interface Streams.FunctionWithIndex<T extends @Nullable Object,R extends @Nullable Object> An analogue ofFunctionalso accepting an index.This interface is only intended for use by callers of Streams.mapWithIndex(Stream, FunctionWithIndex).- Since:
- 21.0
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Rapply(T from, long index)Applies this function to the given argument and its index within a stream.
 
-