org.apache.jackrabbit.spi.commons.iterator
Class Predicates

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

public final class Predicates
extends Object

Utility class containing pre defined Predicates


Field Summary
static Predicate FALSE
          A predicate which is always false
static Predicate TRUE
          A predicate which is always true
 
Method Summary
static
<T> Predicate<T>
FALSE()
          A predicate which is always false
static
<T> Predicate<T>
TRUE()
          A predicate which is always true
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRUE

public static final Predicate TRUE
A predicate which is always true


FALSE

public static final Predicate FALSE
A predicate which is always false

Method Detail

TRUE

public static <T> Predicate<T> TRUE()
A predicate which is always true

Type Parameters:
T -
Returns:

FALSE

public static <T> Predicate<T> FALSE()
A predicate which is always false

Type Parameters:
T -
Returns:


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.