Package org.apache.flink.types
Class Either.Left<L,R>
- java.lang.Object
-
- org.apache.flink.types.Either<L,R>
-
- org.apache.flink.types.Either.Left<L,R>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.types.Either
Either.Left<L,R>, Either.Right<L,R>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
int
hashCode()
L
left()
Retrieve the Left value of Either.static <L,R>
Either.Left<L,R>of(L left)
Creates a left value ofEither
R
right()
Retrieve the Right value of Either.void
setValue(L value)
Sets the encapsulated value to another valueString
toString()
-
Methods inherited from class org.apache.flink.types.Either
isLeft, isRight, Left, obtainLeft, obtainRight, Right
-
-
-
-
Constructor Detail
-
Left
public Left(L value)
-
-
Method Detail
-
setValue
public void setValue(L value)
Sets the encapsulated value to another value- Parameters:
value
- the new value of the encapsulated value
-
of
public static <L,R> Either.Left<L,R> of(L left)
Creates a left value ofEither
-
-