public final class StreamUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <T,R> List<R> |
map(java.util.function.Function<T,R> f,
Collection<T> collection) |
public static <T,R> List<R> map(java.util.function.Function<T,R> f, Collection<T> collection)
T
- the input typeR
- the output typef
- the function to applycollection
- a collection to map overCopyright © 2023. All Rights Reserved.