org.apache.commons.el

Class LessThanOperator

public class LessThanOperator extends RelationalOperator

The implementation of the less than operator

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

Author: Nathan Abramson - Art Technology Group

Field Summary
static LessThanOperatorSINGLETON
Constructor Summary
LessThanOperator()
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 LessThanOperator SINGLETON

Constructor Detail

LessThanOperator

public LessThanOperator()
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