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, wait
accept, acceptBoth, asOptionalLeft, asOptionalRight, create, createLeft, createRight, fold, ifLeft, ifRight, isRight, mapLeft, mapRight
public Right(R value)
public boolean isLeft()
Either
public L getLeft()
Either
public R getRight()
Either