|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shapelogic.predicate.BinaryEqualPredicate
public class BinaryEqualPredicate
Standard binary equal predicate.
First try see if there is a normal equals match, then try to cast to number and does comparison with tolerance.
Field Summary | |
---|---|
static java.lang.String |
EQUALS
|
Constructor Summary | |
---|---|
BinaryEqualPredicate()
|
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 EQUALS
Constructor Detail |
---|
public BinaryEqualPredicate()
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 |