org.apache.commons.el

Class LessThanOrEqualsOperator


public class LessThanOrEqualsOperator
extends RelationalOperator

The implementation of the less than or equals operator
Version:
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: luehe $
Author:
Nathan Abramson - Art Technology Group

Field Summary

static LessThanOrEqualsOperator
SINGLETON

Constructor Summary

LessThanOrEqualsOperator()
Constructor

Method Summary

boolean
apply(BigDecimal pLeft, BigDecimal pRight)
Applies the operator to the given BigDecimal values, returning a BigDecimal
boolean
apply(BigInteger pLeft, BigInteger pRight)
Applies the operator to the given BigDecimal values, returning a BigDecimal
Object
apply(Object pLeft, Object pRight, Logger pLogger)
Applies the operator to the given value
boolean
apply(String pLeft, String pRight)
Applies the operator to the given String values
boolean
apply(double pLeft, double pRight)
Applies the operator to the given double values
boolean
apply(long pLeft, long pRight)
Applies the operator to the given long values
String
getOperatorSymbol()
Returns the symbol representing the operator

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

apply, apply, apply, apply, apply, apply, isEqual, isGreater, isLess

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

apply, getOperatorSymbol, shouldCoerceToBoolean, shouldEvaluate

Field Details

SINGLETON

public static final LessThanOrEqualsOperator SINGLETON

Constructor Details

LessThanOrEqualsOperator

public LessThanOrEqualsOperator()
Constructor

Method Details

apply

public boolean apply(BigDecimal pLeft,
                     BigDecimal pRight)
Applies the operator to the given BigDecimal values, returning a BigDecimal
Overrides:
apply in interface RelationalOperator

apply

public boolean apply(BigInteger pLeft,
                     BigInteger pRight)
Applies the operator to the given BigDecimal values, returning a BigDecimal
Overrides:
apply in interface RelationalOperator

apply

public Object apply(Object pLeft,
                    Object pRight,
                    Logger pLogger)
            throws ELException
Applies the operator to the given value
Overrides:
apply in interface RelationalOperator

apply

public boolean apply(String pLeft,
                     String pRight)
Applies the operator to the given String values
Overrides:
apply in interface RelationalOperator

apply

public boolean apply(double pLeft,
                     double pRight)
Applies the operator to the given double values
Overrides:
apply in interface RelationalOperator

apply

public boolean apply(long pLeft,
                     long pRight)
Applies the operator to the given long values
Overrides:
apply in interface RelationalOperator

getOperatorSymbol

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

Copyright (c) 2001-2002 - Apache Software Foundation