Package org.derive4j.processor
Class Eithers.CasesMatchers.PartialMatcher<A,B,X>
- java.lang.Object
-
- org.derive4j.processor.Eithers.CasesMatchers.PartialMatcher<A,B,X>
-
- Direct Known Subclasses:
Eithers.CasesMatchers.TotalMatcher_Right
- Enclosing class:
- Eithers.CasesMatchers
public static class Eithers.CasesMatchers.PartialMatcher<A,B,X> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PartialMatcher(java.util.function.Function<A,X> left, java.util.function.Function<B,X> right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.function.Function<Either<A,B>,X>
otherwise(java.util.function.Supplier<X> otherwise)
java.util.function.Function<Either<A,B>,X>
otherwise_(X x)
java.util.function.Function<Either<A,B>,java.util.Optional<X>>
otherwiseEmpty()
-