Class PredicateNot<T>

java.lang.Object
com.kamikazejam.kamicommon.util.predicate.PredicateNot<T>
All Implemented Interfaces:
Predicate<T>, Predicate<T>

public class PredicateNot<T> extends Object implements Predicate<T>
  • Constructor Details

    • PredicateNot

      public PredicateNot(@NotNull @NotNull Predicate<? super T> predicate)
  • Method Details

    • get

      @Contract(value="_ -> new", pure=true) @NotNull public static <T> @NotNull PredicateNot<T> get(@NotNull @NotNull Predicate<? super T> predicate)
    • getPredicate

      @NotNull public @NotNull Predicate<? super T> getPredicate()
    • apply

      public boolean apply(T type)
      Specified by:
      apply in interface Predicate<T>