## org.apache.taglibs.standard.lang.jstl
Class EqualsOperator

    java.lang.Object
      org.apache.taglibs.standard.lang.jstl.BinaryOperator
          org.apache.taglibs.standard.lang.jstl.EqualityOperator
              org.apache.taglibs.standard.lang.jstl.EqualsOperator

    public class EqualsOperator

extends EqualityOperator

The implementation of the equals operator

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

Field Summary
`static EqualsOperator` `SINGLETON`

Constructor Summary
`EqualsOperator()` Constructor

Method Summary
`boolean` `apply(boolean pAreEqual, Logger pLogger)` Applies the operator given the fact that the two elements are equal.
`String` `getOperatorSymbol()` Returns the symbol representing the operator

Methods inherited from class org.apache.taglibs.standard.lang.jstl.EqualityOperator
`apply`

Methods inherited from class org.apache.taglibs.standard.lang.jstl.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 EqualsOperator SINGLETON

Constructor Detail

### EqualsOperator

    public EqualsOperator()

  Constructor

Method Detail

### getOperatorSymbol

    public 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 © 2007 Mort Bay Consulting. All Rights Reserved.