public abstract class Either<A,B> extends Object
static class
Either.Left<A,B>
Either.Right<A,B>
protected Object
value
boolean
equals(Object obj)
abstract A
getLeft()
abstract B
getRight()
int
hashCode()
abstract boolean
isLeft()
isRight()
static <A,B> Either<A,B>
left(A a)
right(B b)
String
toString()
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected final Object value
public abstract boolean isLeft()
public boolean isRight()
public abstract A getLeft()
public abstract B getRight()
public int hashCode()
hashCode
Object
public boolean equals(Object obj)
equals
public String toString()
toString
public static <A,B> Either<A,B> left(A a)
public static <A,B> Either<A,B> right(B b)
Copyright © 2014. All rights reserved.