Package com.petrolpark.util
Class Neither.Right<L,R>
java.lang.Object
com.petrolpark.util.Neither.Right<L,R>
- All Implemented Interfaces:
Neither<L,R>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.petrolpark.util.Neither
Neither.Left<L,R>, Neither.NeitherStreamCodec<B extends io.netty.buffer.ByteBuf, L, R>, Neither.None<L, R>, Neither.Right<L, R> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
value
-
-
Constructor Details
-
Right
-
-
Method Details
-
isPresent
public boolean isPresent() -
isLeft
public boolean isLeft() -
isRight
public boolean isRight() -
mapBoth
-
map
-
ifLeft
-
ifRight
-
ifNeither
-
left
-
right
-
either
-