|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shapelogic.predicate.BinarySmallerPredicate
public class BinarySmallerPredicate
Standard binary smaller predicate.
First try see if there is a normal equals match, then try to cast to number and does comparison.
Field Summary | |
---|---|
static java.lang.String |
SMALLER
|
Constructor Summary | |
---|---|
BinarySmallerPredicate()
|
Method Summary | |
---|---|
boolean |
evaluate(java.lang.Object left,
java.lang.Object right)
Checks if a binary predicate relation holds. |
java.lang.String |
getName()
Used in factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SMALLER
Constructor Detail |
---|
public BinarySmallerPredicate()
Method Detail |
---|
public boolean evaluate(java.lang.Object left, java.lang.Object right)
BinaryPredicate
evaluate
in interface BinaryPredicate
public java.lang.String getName()
BinaryPredicate
getName
in interface BinaryPredicate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |