|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcakoose.util.Either<L,R>
public class Either<L,R>
| Constructor Summary | |
|---|---|
Either()
|
|
| Method Summary | ||
|---|---|---|
L |
getLeft()
|
|
R |
getRight()
|
|
boolean |
isLeft()
|
|
boolean |
isRight()
|
|
static
|
Left(L value)
|
|
static
|
Right(R value)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Either()
| Method Detail |
|---|
public L getLeft()
public R getRight()
public boolean isLeft()
public boolean isRight()
public static <L,R> Either<L,R> Left(L value)
public static <L,R> Either<L,R> Right(R value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||