Modifier and Type | Method and Description |
---|---|
Xor<T1,T2> |
getMatchable() |
default java.util.Iterator<java.lang.Object> |
iterator() |
default <R> Eval<R> |
matches(java.util.function.Function<Matchable.CheckValue1<T1,R>,Matchable.CheckValue1<T1,R>> secondary,
java.util.function.Function<Matchable.CheckValue1<T2,R>,Matchable.CheckValue1<T2,R>> primary,
java.util.function.Supplier<? extends R> otherwise) |
default <R> R |
visit(java.util.function.Function<? super T1,? extends R> case1,
java.util.function.Function<? super T2,? extends R> case2) |
default java.util.Iterator<java.lang.Object> iterator()
iterator
in interface java.lang.Iterable<java.lang.Object>
default <R> R visit(java.util.function.Function<? super T1,? extends R> case1, java.util.function.Function<? super T2,? extends R> case2)
default <R> Eval<R> matches(java.util.function.Function<Matchable.CheckValue1<T1,R>,Matchable.CheckValue1<T1,R>> secondary, java.util.function.Function<Matchable.CheckValue1<T2,R>,Matchable.CheckValue1<T2,R>> primary, java.util.function.Supplier<? extends R> otherwise)