Klasse Either<FirstType,SecondType>

java.lang.Object
de.s42.base.functional.Either<FirstType,SecondType>
Typparameter:
FirstType - Type of the first value
SecondType - Type of the second value

public final class Either<FirstType,SecondType> extends Object
Either is an implementation of the either monad. You can encode either 1 of 2 values (first, second) to be contained. It provides many powerful ways to interact with it.
Autor:
Benjamin Schiller