Interface Predicate<T>

  • Type Parameters:
    T - The type of the thing to test.
    All Superinterfaces:
    Function<T,​java.lang.Boolean>
    All Known Implementing Classes:
    RateLimitHistory

    public interface Predicate<T>
    extends Function<T,​java.lang.Boolean>
    The type of functions that test things.
    Author:
    Alex Kalderimis
    • Method Detail

      • call

        java.lang.Boolean call​(T subject)
        Apply some test to some kind of thing.
        Specified by:
        call in interface Function<T,​java.lang.Boolean>
        Parameters:
        subject - The thing to test
        Returns:
        true or false