Class DataConstructions.CaseOfMatchers.PartialMatcher<R>

    • Field Detail

      • multipleConstructors

        private final java.util.function.Function<MultipleConstructors,​R> multipleConstructors
      • oneConstructor

        private final java.util.function.Function<DataConstructor,​R> oneConstructor
      • noConstructor

        private final java.util.function.Supplier<R> noConstructor
    • Constructor Detail

    • Method Detail

      • otherwise

        public final R otherwise​(java.util.function.Supplier<R> otherwise)
      • otherwise_

        public final R otherwise_​(R r)
      • otherwiseEmpty

        public final java.util.Optional<R> otherwiseEmpty()