Either.Left<L,R>, Either.Right<L,R>| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object otherObj) |
L |
getLeft()
Returns the left side.
|
R |
getRight()
Returns the right side.
|
int |
hashCode() |
boolean |
isLeft()
True if it's left.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, acceptBoth, asOptionalLeft, asOptionalRight, createLeft, createRight, fold, ifLeft, ifRight, isRightpublic Left(L value)
public boolean isLeft()
Eitherpublic L getLeft()
Eitherpublic R getRight()
Either