org.apache.commons.el
Class NotEqualsOperator

java.lang.Object
  |
  +--org.apache.commons.el.BinaryOperator
        |
        +--org.apache.commons.el.EqualityOperator
              |
              +--org.apache.commons.el.NotEqualsOperator

public class NotEqualsOperator
extends EqualityOperator

The implementation of the not equals operator

Version:
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: luehe $
Author:
Nathan Abramson - Art Technology Group

Field Summary
static NotEqualsOperator SINGLETON
           
 
Constructor Summary
NotEqualsOperator()
          Constructor
 
Method Summary
 boolean apply(boolean pAreEqual, Logger pLogger)
          Applies the operator given the fact that the two elements are equal.
 java.lang.String getOperatorSymbol()
          Returns the symbol representing the operator
 
Methods inherited from class org.apache.commons.el.EqualityOperator
apply
 
Methods inherited from class org.apache.commons.el.BinaryOperator
shouldCoerceToBoolean, shouldEvaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLETON

public static final NotEqualsOperator SINGLETON
Constructor Detail

NotEqualsOperator

public NotEqualsOperator()
Constructor

Method Detail

getOperatorSymbol

public java.lang.String getOperatorSymbol()
Returns the symbol representing the operator

Specified by:
getOperatorSymbol in class BinaryOperator

apply

public boolean apply(boolean pAreEqual,
                     Logger pLogger)
Applies the operator given the fact that the two elements are equal.

Specified by:
apply in class EqualityOperator


Copyright (c) 2001-2002 - Apache Software Foundation