public abstract class Either<A,B>
extends Object
- Author:
- Andrea Vacondio
- See Also:
-
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
either
public abstract <C> C either(Function<? super A,? extends C> left,
Function<? super B,? extends C> right)
-
left
public static <A,
B> Either<A,B> left(A value)
-
right
public static <A,
B> Either<A,B> right(B value)
-
-