Either.First<F,S>, Either.Second<F,S>| Modifier and Type | Method and Description |
|---|---|
F |
getFirst()
Retrieve the first value.
|
S |
getSecond()
Retrieve the second value.
|
boolean |
hasFirst()
Checks if this container has the first value.
|
boolean |
hasSecond()
Checks if this container has the second value.
|
public boolean hasFirst()
Eitherpublic boolean hasSecond()
Eitherpublic F getFirst()
EitherCopyright © 2018. All rights reserved.