Class Predicates

java.lang.Object
org.apache.jackrabbit.spi.commons.iterator.Predicates

public final class Predicates extends Object
Deprecated.
use instances of Predicate instead
Utility class containing pre defined Predicates
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Predicate
    Deprecated.
    A predicate which is always false
    static final Predicate
    Deprecated.
    A predicate which is always true
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> Predicate<T>
    Deprecated.
    A predicate which is always false
    static <T> Predicate<T>
    Deprecated.
    A predicate which is always true

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TRUE

      public static final Predicate TRUE
      Deprecated.
      A predicate which is always true
    • FALSE

      public static final Predicate FALSE
      Deprecated.
      A predicate which is always false
  • Method Details

    • TRUE

      public static <T> Predicate<T> TRUE()
      Deprecated.
      A predicate which is always true
      Type Parameters:
      T -
      Returns:
    • FALSE

      public static <T> Predicate<T> FALSE()
      Deprecated.
      A predicate which is always false
      Type Parameters:
      T -
      Returns: