net.sf.staccatocommons.lang.predicate.internal
Class False<T>

java.lang.Object
  extended by net.sf.staccatocommons.lang.predicate.AbstractPredicate<T>
      extended by net.sf.staccatocommons.lang.predicate.internal.TopLevelPredicate<T>
          extended by net.sf.staccatocommons.lang.predicate.internal.False<T>
Type Parameters:
T -
All Implemented Interfaces:
Serializable, net.sf.staccatocommons.defs.Applicable<T,Boolean>, net.sf.staccatocommons.defs.Evaluable<T>, net.sf.staccatocommons.defs.predicate.Predicate<T>

public final class False<T>
extends TopLevelPredicate<T>

Author:
flbulgarelli
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.staccatocommons.lang.predicate.AbstractPredicate
AbstractPredicate.Soft<A>
 
Constructor Summary
False()
           
 
Method Summary
 net.sf.staccatocommons.defs.predicate.Predicate<T> and(net.sf.staccatocommons.defs.Evaluable<? super T> other)
          Returns a predicate that performs a short-circuit logical-and between this AbstractPredicate's AbstractPredicate.eval(Object) and other
 boolean eval(T argument)
           
static net.sf.staccatocommons.defs.predicate.Predicate getInstance()
           
 net.sf.staccatocommons.defs.predicate.Predicate<T> not()
           
 net.sf.staccatocommons.defs.predicate.Predicate<T> or(net.sf.staccatocommons.defs.Evaluable<? super T> other)
          Returns a predicate that, performs a short-circuit logical-or between this AbstractPredicate's AbstractPredicate.eval(Object) and other
 
Methods inherited from class net.sf.staccatocommons.lang.predicate.internal.TopLevelPredicate
toString
 
Methods inherited from class net.sf.staccatocommons.lang.predicate.AbstractPredicate
andNotNull, apply, of, orNull, withEffectOnFalse, withEffectOnTrue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

False

public False()
Method Detail

eval

public boolean eval(T argument)
Specified by:
eval in interface net.sf.staccatocommons.defs.Evaluable<T>
Specified by:
eval in class AbstractPredicate<T>

getInstance

@Constant
public static net.sf.staccatocommons.defs.predicate.Predicate getInstance()
Returns:
the instance

and

public net.sf.staccatocommons.defs.predicate.Predicate<T> and(net.sf.staccatocommons.defs.Evaluable<? super T> other)
Description copied from class: AbstractPredicate
Returns a predicate that performs a short-circuit logical-and between this AbstractPredicate's AbstractPredicate.eval(Object) and other

Specified by:
and in interface net.sf.staccatocommons.defs.predicate.Predicate<T>
Overrides:
and in class AbstractPredicate<T>
Parameters:
other - another Evaluable. Non null.
Returns:
A new predicate that performs the short circuited logical-and between this and other when evaluated. Non Null

or

public net.sf.staccatocommons.defs.predicate.Predicate<T> or(net.sf.staccatocommons.defs.Evaluable<? super T> other)
Description copied from class: AbstractPredicate
Returns a predicate that, performs a short-circuit logical-or between this AbstractPredicate's AbstractPredicate.eval(Object) and other

Specified by:
or in interface net.sf.staccatocommons.defs.predicate.Predicate<T>
Overrides:
or in class AbstractPredicate<T>
Parameters:
other - another Evaluable. Non null.
Returns:
A new predicate that performs the short circuited or between this and other when evaluated. Non Null

not

public net.sf.staccatocommons.defs.predicate.Predicate<T> not()
Specified by:
not in interface net.sf.staccatocommons.defs.predicate.Predicate<T>
Overrides:
not in class AbstractPredicate<T>
Returns:
a AbstractPredicate that negates this AbstractPredicate's result. Non Null.


Copyright © 2010-2012 Staccatocommons. All Rights Reserved.