public interface PartiallyOrderedToken
The default implementation of visitRelationalNode
ParseTreeEvaluator.visitRelationalNode(ASTPtRelationalNode)
uses this interface, so any tokens that implement this interface can be used
with the inequality operators (<, ≤, >, and ≥) in the Ptolemy expression
language.
Red (blickly) |
Red (blickly) |
Modifier and Type | Method and Description |
---|---|
BooleanToken |
isLessThan(PartiallyOrderedToken rightArgument)
Check whether the value of this token is strictly less than that of the
argument token.
|
BooleanToken isLessThan(PartiallyOrderedToken rightArgument) throws IllegalActionException
rightArgument
- The token on greater than side of the inequality.IllegalActionException
- If the tokens are incomparable.