Class TruePredicate

    • Field Detail

      • INSTANCE

        public static final Predicate INSTANCE
        Deprecated.
        Singleton predicate instance
    • Method Detail

      • getInstance

        public static Predicate getInstance()
        Deprecated.
        Factory returning the singleton instance.
        Returns:
        the singleton instance
        Since:
        Commons Collections 3.1
      • evaluate

        public boolean evaluate​(Object object)
        Deprecated.
        Evaluates the predicate returning true always.
        Specified by:
        evaluate in interface Predicate
        Parameters:
        object - the input object
        Returns:
        true always