org.apache.commons.el

Class EqualsOperator


public class EqualsOperator
extends EqualityOperator

The implementation of the equals operator
Version:
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: luehe $
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.commons.el.EqualityOperator

apply, apply

Methods inherited from class org.apache.commons.el.BinaryOperator

apply, getOperatorSymbol, shouldCoerceToBoolean, shouldEvaluate

Field Details

SINGLETON

public static final EqualsOperator SINGLETON

Constructor Details

EqualsOperator

public EqualsOperator()
Constructor

Method Details

apply

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

getOperatorSymbol

public String getOperatorSymbol()
Returns the symbol representing the operator
Overrides:
getOperatorSymbol in interface BinaryOperator

Copyright (c) 2001-2002 - Apache Software Foundation