Module MaterialFX

Class PredicateUtils

java.lang.Object
io.github.palexdev.materialfx.utils.PredicateUtils

public class PredicateUtils extends Object
Convenience methods for predicates.
  • Method Details

    • chain

      public static <T> Predicate<T> chain(Predicate<T> original, Predicate<T> other, ChainMode mode)
      Returns:
      a new predicate that is the combination of the original predicate with the given one according to the specified ChainMode.