Class Predicates


  • public class Predicates
    extends Object
    • Constructor Detail

      • Predicates

        Predicates()
    • Method Detail

      • instance

        public static Predicates instance()
        Returns the singleton instance of this class.
        Returns:
        the singleton instance of this class.
      • assertIsNotNull

        public void assertIsNotNull​(Predicate<?> predicate)
        Asserts the given Predicate is not null.
        Parameters:
        predicate - the given Predicate.
        Throws:
        NullPointerException - if the given Predicate is null.