Class PZOptional

java.lang.Object
zombie.util.lambda.PZOptional

public class PZOptional extends Object
  • Constructor Details

    • PZOptional

      public PZOptional()
  • Method Details

    • ifPresent

      public static <T> void ifPresent(T x, Consumer<T> ifPresentCall)
    • ifPresent

      public static <T,P1> void ifPresent(T x, BiConsumer<T,P1> ifPresentCall, P1 param1)
    • ifPresent

      public static <T> boolean ifPresent(T x, Predicate<T> ifPresentPredicate)
    • ifPresent

      public static <T,R> R ifPresent(T x, R defaultIfNull, Function<T,R> ifPresent)
    • ifPresent

      public static <T,R,P1> R ifPresent(T x, R defaultIfNull, BiFunction<T,P1,R> ifPresent, P1 param1)