Either.Left<L,R>, Either.NotLeftException, Either.NotRightException, Either.Right<L,R>
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
L |
getValue()
Returns the wrapped value
|
int |
hashCode() |
boolean |
isLeft()
Check whether this is a Left projection.
|
boolean |
isRight()
Check whether this is a Right projection.
|
java.lang.String |
toString() |
get, getOrElse, left, leftProjection, right, rightProjection
public L getValue()
public boolean isLeft()
Either
public boolean isRight()
Either
public java.lang.String toString()
toString
in class java.lang.Object