| Modifier and Type | Method and Description |
|---|---|
List<T1> |
yield()
A shortcut for
yield(Function.identity()). |
<R> List<R> |
yield(Function<? super T1,? extends R> f)
Yields a result for elements of the cross product of the underlying List.
|
public <R> List<R> yield(Function<? super T1,? extends R> f)
R - type of the resulting List elementsf - a function that maps an element of the cross product to a resultList of mapped resultsCopyright © 2020. All Rights Reserved.