public class EitherValueTypeInfo<L,R> extends Object implements ValueTypeInfo<Either<L,R>>
| Constructor and Description |
|---|
EitherValueTypeInfo(ValueTypeInfo<L> leftTypeInfo,
ValueTypeInfo<R> rightTypeInfo) |
| Modifier and Type | Method and Description |
|---|---|
<E extends Exception> |
create(ValueCreator<E> creator) |
<E extends Exception> |
visit(Either<L,R> value,
ValueVisitor<E> visitor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateNotNullpublic EitherValueTypeInfo(ValueTypeInfo<L> leftTypeInfo, ValueTypeInfo<R> rightTypeInfo)