|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlij.runtime.ConstraintInstance
lij.runtime.ConstraintInstance.ConstraintComparisonInstance
private static class ConstraintInstance.ConstraintComparisonInstance
A ConstraintInstance subclass for comparison constraints.
Field Summary |
---|
Fields inherited from class lij.runtime.ConstraintInstance |
---|
agentInstance, constraint, interpreter |
Constructor Summary | |
---|---|
private |
ConstraintInstance.ConstraintComparisonInstance()
|
Method Summary | |
---|---|
Result.State |
check()
This method needs to be implemented by any subclasses. |
private Result.State |
checkValues(java.io.Serializable value1,
java.io.Serializable value2,
ConstraintComparison.Type type)
Compares the two specified values. |
Methods inherited from class lij.runtime.ConstraintInstance |
---|
createConstraintInstance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private ConstraintInstance.ConstraintComparisonInstance()
Method Detail |
---|
public Result.State check() throws InterpreterException
ConstraintInstance
check
in class ConstraintInstance
InterpreterException
private Result.State checkValues(java.io.Serializable value1, java.io.Serializable value2, ConstraintComparison.Type type) throws InterpreterException
value1
- The LHS value.value2
- The RHS value.type
- The type of the comparison.
InterpreterException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |