Class Either.Left<L,R>
java.lang.Object
org.ehrbase.openehr.sdk.util.functional.Either<L,R>
org.ehrbase.openehr.sdk.util.functional.Either.Left<L,R>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ehrbase.openehr.sdk.util.functional.Either
Either.Left<L,R>, Either.Right<L, R> -
Field Summary
-
Method Summary
-
Method Details
-
isLeft
public boolean isLeft() -
isRight
public boolean isRight() -
get
-
getAsLeft
-
getAsRight
- Specified by:
getAsRightin classEither<L,R>
-
map
Description copied from class:EitherConvenience method to transform the internal state -
consume
Description copied from class:EitherConvenience method to consume the internal state
-