|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.constraint.object.Base
org.openorb.constraint.object.TwiddleOperator
public class TwiddleOperator
This class is a constraint tree node that represents the '~' (substring) operator. This operator tests whether the string on the left appears as a substring of the string on the right. e.g. 'part' ~ 'departments' evaluates to TRUE
Constructor Summary | |
---|---|
TwiddleOperator(Base opA,
Base opB)
Constructor |
Method Summary | |
---|---|
java.lang.Object |
evaluate()
This operation is invoked by the tree evaluator to get this node value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TwiddleOperator(Base opA, Base opB)
Method Detail |
---|
public java.lang.Object evaluate() throws InvalidValue
evaluate
in class Base
InvalidValue
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |