Interface IPredicate<T>

  • Type Parameters:
    T - the type of objects that this predicate can test
    All Known Implementing Classes:
    TimeRangeFilter.TimeRangePredicate, TimeRangeThreadFilter.TimeRangePredicate

    public interface IPredicate<T>
    A predicate tests an object and returns either true or false depending on the implementation. This is very similar to the Java 8 interface java.util.Predicate.
    • Method Detail

      • evaluate

        boolean evaluate​(T o)
        Tests an object.
        Parameters:
        o - object to test
        Returns:
        the test result, true or false