jfun.yan.xml.nuts.optional
Class NotEqualsNut

java.lang.Object
  extended by jfun.yan.xml.nut.Nut
      extended by jfun.yan.xml.nut.ComponentNut
          extended by jfun.yan.xml.nuts.optional.BinaryNut
              extended by jfun.yan.xml.nuts.optional.BinaryPredicateNut
                  extended by jfun.yan.xml.nuts.optional.NotEqualsNut
All Implemented Interfaces:
java.io.Serializable

public class NotEqualsNut
extends BinaryPredicateNut

The tag that returns false if two objects are equal.

Author:
Ben Yu Nov 11, 2005 3:44:42 PM
See Also:
Serialized Form

Constructor Summary
NotEqualsNut()
           
 
Method Summary
 boolean predicate(java.lang.Object v1, java.lang.Object v2)
          The predicate.
 
Methods inherited from class jfun.yan.xml.nuts.optional.BinaryPredicateNut
eval
 
Methods inherited from class jfun.yan.xml.nuts.optional.BinaryNut
getComponent1, getComponent2, getType1, getType2, getVal1, getVal2, isVal1Set, isVal2Set, set, setType1, setType2, setVal1, setVal2
 
Methods inherited from class jfun.yan.xml.nut.Nut
cast, checkDuplicate, checkMandatory, checkMandatory, convert, getComponentClassLoader, getId, getNutClassLoader, getNutEnvironment, getParameterWiring, getPropertyWiring, getSequenceNumber, getTagLocation, getTagName, initGloballyDefined, initNutEnvironment, initSequenceNumber, initTagLocation, initTagName, isGloballyDefined, raise, raise, register, registerEagerInstantiation, setId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotEqualsNut

public NotEqualsNut()
Method Detail

predicate

public boolean predicate(java.lang.Object v1,
                         java.lang.Object v2)
Description copied from class: BinaryPredicateNut
The predicate.

Specified by:
predicate in class BinaryPredicateNut
Parameters:
v1 - the first value.
v2 - the second value.