Interface IPredicate<T>

Type Parameters:
T - the type of the input to the predicate
All Superinterfaces:
Predicate<T>

@Deprecated public interface IPredicate<T> extends 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 Summary

    Modifier and Type
    Method
    Description
    boolean
    test(T t)
    Deprecated.
    Evaluates this predicate on the given argument.

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Method Details

    • test

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