net.sf.staccatocommons.lang.predicate.internal
Class Equals<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.Equals<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 Equals<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
Equals(T value)
          Creates a new Equals
 
Method Summary
 boolean eval(T argument)
           
 
Methods inherited from class net.sf.staccatocommons.lang.predicate.internal.TopLevelPredicate
toString
 
Methods inherited from class net.sf.staccatocommons.lang.predicate.AbstractPredicate
and, andNotNull, apply, not, of, or, orNull, withEffectOnFalse, withEffectOnTrue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Equals

public Equals(T value)
Creates a new Equals

Parameters:
value - the value to test equality
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>


Copyright © 2010-2012 Staccatocommons. All Rights Reserved.