org.eobjects.metamodel.util
Class FalsePredicate<E>

java.lang.Object
  extended by org.eobjects.metamodel.util.FalsePredicate<E>
Type Parameters:
E -
All Implemented Interfaces:
Serializable, Func<E,Boolean>, Predicate<E>

public final class FalsePredicate<E>
extends Object
implements Predicate<E>, Serializable

A predicate that is always false

See Also:
Serialized Form

Constructor Summary
FalsePredicate()
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean eval(E arg)
          Evaluates an element and transforms it using this function.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FalsePredicate

public FalsePredicate()
Method Detail

eval

public Boolean eval(E arg)
Description copied from interface: Func
Evaluates an element and transforms it using this function.

Specified by:
eval in interface Func<E,Boolean>
Parameters:
arg - the input given to the function
Returns:
the output result of the function

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2007-2013. All Rights Reserved.