org.jopendocument.util.cc
Class IPredicate<E>

java.lang.Object
  extended by org.jopendocument.util.cc.IPredicate<E>
All Implemented Interfaces:
org.apache.commons.collections.Predicate

public abstract class IPredicate<E>
extends Object
implements org.apache.commons.collections.Predicate


Constructor Summary
IPredicate()
           
 
Method Summary
 IPredicate<E> and(IPredicate<? super E> o)
           
<F extends E>
IPredicate<F>
cast()
           
 boolean evaluate(Object object)
           
abstract  boolean evaluateChecked(E input)
           
static
<N> IPredicate<N>
falsePredicate()
           
 IPredicate<E> not()
           
static
<N> IPredicate<N>
notNullPredicate()
           
 IPredicate<E> or(IPredicate<? super E> o)
           
static
<N> IPredicate<N>
truePredicate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPredicate

public IPredicate()
Method Detail

truePredicate

public static final <N> IPredicate<N> truePredicate()

falsePredicate

public static final <N> IPredicate<N> falsePredicate()

notNullPredicate

public static final <N> IPredicate<N> notNullPredicate()

evaluate

public boolean evaluate(Object object)
Specified by:
evaluate in interface org.apache.commons.collections.Predicate

evaluateChecked

public abstract boolean evaluateChecked(E input)

cast

public final <F extends E> IPredicate<F> cast()

not

public final IPredicate<E> not()

and

public final IPredicate<E> and(IPredicate<? super E> o)

or

public final IPredicate<E> or(IPredicate<? super E> o)


Copyright © 2010 jOpenDocument All Rights Reserved.