Package io.vavr
Class API.For6List<T1,T2,T3,T4,T5,T6>
- java.lang.Object
-
- io.vavr.API.For6List<T1,T2,T3,T4,T5,T6>
-
- Type Parameters:
T1- component type ofListnumber 1T2- component type ofListnumber 2T3- component type ofListnumber 3T4- component type ofListnumber 4T5- component type ofListnumber 5T6- component type ofListnumber 6
- Enclosing class:
- API
public static class API.For6List<T1,T2,T3,T4,T5,T6> extends java.lang.ObjectFor-comprehension with 6 Lists.
-
-
Method Detail
-
yield
public <R> List<R> yield(@NonNull Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> f)
Yields a result for elements of the cross-product of the underlying Lists.- Type Parameters:
R- type of the resultingListelements- Parameters:
f- a function that maps an element of the cross-product to a result- Returns:
- an
Listof mapped results
-
-