Package ptolemy.data

Interface PartiallyOrderedToken

    • Method Detail

      • isLessThan

        BooleanToken isLessThan​(PartiallyOrderedToken rightArgument)
                         throws IllegalActionException
        Check whether the value of this token is strictly less than that of the argument token. Only a partial order is assumed, so !(a < b) need not imply (a ≥ b).
        Parameters:
        rightArgument - The token on greater than side of the inequality.
        Returns:
        BooleanToken.TRUE, if this token is less than the argument token. BooleanToken.FALSE, otherwise.
        Throws:
        IllegalActionException - If the tokens are incomparable.