public static final class Either.Left<L,R> extends java.lang.Object implements Either<L,R>, java.io.Serializable
Either.µ, Either.Left<L,R>, Either.Right<L,R>| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
L |
getLeft() |
R |
getRight() |
int |
hashCode() |
boolean |
isLeft() |
boolean |
isRight() |
com.github.tonivade.purefun.type.EitherModule |
module() |
java.lang.String |
toString() |
public com.github.tonivade.purefun.type.EitherModule module()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object