|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsheets.core.formula.lang.RelationalOperator
csheets.core.formula.lang.LessThan
public class LessThan
A relational less-than operator.
| Constructor Summary | |
|---|---|
LessThan()
Creates a new relational less-than operator. |
|
| Method Summary | ||
|---|---|---|
|
compare(Comparable<T> left,
T right)
Applies the operator to the given operands and returns a boolean value. |
|
String |
getIdentifier()
Returns the operator's string identirifer. |
|
Value.Type |
getOperandValueType()
Returns the type of value that the operator's operands can have. |
|
String |
toString()
|
|
| Methods inherited from class csheets.core.formula.lang.RelationalOperator |
|---|
applyTo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LessThan()
| Method Detail |
|---|
public <T> boolean compare(Comparable<T> left,
T right)
RelationalOperator
compare in class RelationalOperatorleft - the value of the left operandright - the value of the right operand
public String getIdentifier()
Operator
public Value.Type getOperandValueType()
Operator
getOperandValueType in interface OperatorgetOperandValueType in class RelationalOperatorpublic String toString()
toString in class RelationalOperator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||