org.apache.commons.el

Class GreaterThanOperator

public class GreaterThanOperator extends RelationalOperator

The implementation of the greater than operator

Version: $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: luehe $

Author: Nathan Abramson - Art Technology Group

Field Summary
static GreaterThanOperatorSINGLETON
Constructor Summary
GreaterThanOperator()
Constructor
Method Summary
Objectapply(Object pLeft, Object pRight, Logger pLogger)
Applies the operator to the given value
booleanapply(double pLeft, double pRight)
Applies the operator to the given double values
booleanapply(long pLeft, long pRight)
Applies the operator to the given long values
booleanapply(String pLeft, String pRight)
Applies the operator to the given String values
booleanapply(BigDecimal pLeft, BigDecimal pRight)
Applies the operator to the given BigDecimal values, returning a BigDecimal
booleanapply(BigInteger pLeft, BigInteger pRight)
Applies the operator to the given BigDecimal values, returning a BigDecimal
StringgetOperatorSymbol()
Returns the symbol representing the operator

Field Detail

SINGLETON

public static final GreaterThanOperator SINGLETON

Constructor Detail

GreaterThanOperator

public GreaterThanOperator()
Constructor

Method Detail

apply

public Object apply(Object pLeft, Object pRight, Logger pLogger)
Applies the operator to the given value

apply

public boolean apply(double pLeft, double pRight)
Applies the operator to the given double values

apply

public boolean apply(long pLeft, long pRight)
Applies the operator to the given long values

apply

public boolean apply(String pLeft, String pRight)
Applies the operator to the given String values

apply

public boolean apply(BigDecimal pLeft, BigDecimal pRight)
Applies the operator to the given BigDecimal values, returning a BigDecimal

apply

public boolean apply(BigInteger pLeft, BigInteger pRight)
Applies the operator to the given BigDecimal values, returning a BigDecimal

getOperatorSymbol

public String getOperatorSymbol()
Returns the symbol representing the operator
Copyright (c) 2001-2002 - Apache Software Foundation