Class API.For2Either<L,T1,T2>
java.lang.Object
io.vavr.API.For2Either<L,T1,T2>
- Type Parameters:
L- The left-hand type of allEithersT1- component type ofEithernumber 1T2- component type ofEithernumber 2
- Enclosing class:
API
For-comprehension with two Eithers.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ts1
-
ts2
-
-
Constructor Details
-
For2Either
-
-
Method Details
-
yield
Yields a result for elements of the cross-product of the underlying Eithers.- Type Parameters:
R- type of the resultingEitherelements- Parameters:
f- a function that maps an element of the cross-product to a result- Returns:
- an
Eitherof mapped results
-