public final class Either<L,R> extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
L |
getLeft() |
R |
getRight() |
int |
hashCode() |
boolean |
isLeft() |
boolean |
isRight() |
static <L,R> Either<L,R> |
left(L left) |
static <L,R> Either<L,R> |
right(R right) |
String |
toString() |
Copyright © 2012–2024 SpigotMC. All rights reserved.