Interface IPredicate<T>

  • Type Parameters:
    T - the type of the input to the predicate
    All Superinterfaces:
    java.util.function.Predicate<T>

    @Deprecated
    public interface IPredicate<T>
    extends java.util.function.Predicate<T>
    Deprecated.
    for removal since 21.6; Use Predicate instead.
    Represents a predicate (boolean-valued function) of one argument.

    This is a functional interface whose functional method is test(Object).

    Note that this is a simple copy of Java 8's java.util.function.Predicate to start implementing a more functional style for some of Faktor-IPS' API and will probably be removed once we move the code base to Java 8.

    • Method Detail

      • test

        boolean test​(T t)
        Deprecated.
        Evaluates this predicate on the given argument.
        Specified by:
        test in interface java.util.function.Predicate<T>
        Parameters:
        t - the input argument
        Returns:
        true if the input argument matches the predicate, otherwise false