Class DataConstructions.CaseOfMatchers.PartialMatcher<R>

java.lang.Object
org.derive4j.processor.api.model.DataConstructions.CaseOfMatchers.PartialMatcher<R>
Direct Known Subclasses:
DataConstructions.CaseOfMatchers.PartialMatcher_NoConstructor, DataConstructions.CaseOfMatchers.TotalMatcher_NoConstructor
Enclosing class:
DataConstructions.CaseOfMatchers

public static class DataConstructions.CaseOfMatchers.PartialMatcher<R> extends Object
  • Method Details

    • otherwise

      public final R otherwise(Supplier<R> otherwise)
    • otherwise_

      public final R otherwise_(R r)
    • otherwiseEmpty

      public final Optional<R> otherwiseEmpty()