public final class EitherOf2<A
extends Message
, B
extends Message
> extends Either implements Element.AValue<T>, Element.BValue<T> A value which can be one of two possible types.
Parameters
the type of the first alternative
the type of the second alternative