Nested Classes
| Modifier and Type |
Class |
Description |
static class |
OneOfN.Either<T1,T2> |
Emulates a sum type consisting of 2 cases.
|
static interface |
OneOfN.EitherMatcher<R,T1,T2> |
A matcher object that contains a handler for each case and can be used to reduce a sum type to a single value.
|
static class |
OneOfN.Just<T1> |
Emulates a sum type consisting of 1 cases.
|
static interface |
OneOfN.JustMatcher<R,T1> |
A matcher object that contains a handler for each case and can be used to reduce a sum type to a single value.
|
static class |
OneOfN.None |
Emulates a sum type consisting of 0 cases.
|
static interface |
OneOfN.NoneMatcher<R> |
A matcher object that contains a handler for each case and can be used to reduce a sum type to a single value.
|
static class |
OneOfN.OneOf3<T1,T2,T3> |
Emulates a sum type consisting of 3 cases.
|
static interface |
OneOfN.OneOf3Matcher<R,T1,T2,T3> |
A matcher object that contains a handler for each case and can be used to reduce a sum type to a single value.
|
static class |
OneOfN.OneOf4<T1,T2,T3,T4> |
Emulates a sum type consisting of 4 cases.
|
static interface |
OneOfN.OneOf4Matcher<R,T1,T2,T3,T4> |
A matcher object that contains a handler for each case and can be used to reduce a sum type to a single value.
|
static class |
OneOfN.OneOf5<T1,T2,T3,T4,T5> |
Emulates a sum type consisting of 5 cases.
|
static interface |
OneOfN.OneOf5Matcher<R,T1,T2,T3,T4,T5> |
A matcher object that contains a handler for each case and can be used to reduce a sum type to a single value.
|