| Constructor and Description |
|---|
Right(Payload value)
Creates a new
Right. |
public boolean isLeft()
Eitherpublic Left getLeft() throws IllegalStateException
EithergetLeft in class Either<Left,Payload>Either.IllegalStateException - If this Either is not a Either.isLeft()
Either.public boolean isRight()
EitherCopyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.