Class DeriveVisibilities.CaseOfMatchers.PartialMatcher<R>

    • Constructor Summary

      Constructors 
      Constructor Description
      PartialMatcher​(DeriveVisibility _deriveVisibility, java.util.function.Supplier<R> Public, java.util.function.Supplier<R> Package, java.util.function.Supplier<R> Smart)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      R otherwise​(java.util.function.Supplier<R> otherwise)  
      R otherwise_​(R r)  
      java.util.Optional<R> otherwiseEmpty()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Public

        private final java.util.function.Supplier<R> Public
      • Package

        private final java.util.function.Supplier<R> Package
      • Smart

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

      • PartialMatcher

        PartialMatcher​(DeriveVisibility _deriveVisibility,
                       java.util.function.Supplier<R> Public,
                       java.util.function.Supplier<R> Package,
                       java.util.function.Supplier<R> Smart)
    • 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()