Package ptolemy.data

Interface BitwiseOperationToken

    • Method Detail

      • bitwiseAnd

        BitwiseOperationToken bitwiseAnd​(Token rightArgument)
                                  throws IllegalActionException
        Returns a token representing the bitwise AND of this token and the given token.
        Parameters:
        rightArgument - The token that is bitwise ANDed with this token.
        Returns:
        The bitwise AND.
        Throws:
        IllegalActionException - If the given token is not compatible for this operation, or the operation does not make sense for this type.
      • bitwiseOr

        BitwiseOperationToken bitwiseOr​(Token rightArgument)
                                 throws IllegalActionException
        Returns a token representing the bitwise OR of this token and the given token.
        Parameters:
        rightArgument - The token that is bitwise OR'd with this token.
        Returns:
        The bitwise OR.
        Throws:
        IllegalActionException - If the given token is not compatible for this operation, or the operation does not make sense for this type.
      • bitwiseXor

        BitwiseOperationToken bitwiseXor​(Token rightArgument)
                                  throws IllegalActionException
        Returns a token representing the bitwise XOR of this token and the given token.
        Parameters:
        rightArgument - The token that is bitwise XOR'd with this token.
        Returns:
        The bitwise XOR.
        Throws:
        IllegalActionException - If the given token is not compatible for this operation, or the operation does not make sense for this type.