/** * Divide by a value and return the result. * * @param v the value to divide by * @return the result */ public Value divide(Value v) { throw throwUnsupportedExceptionForType("/"); }
/** * Return -value if this value support arithmetic operations. * * @return the negative */ public Value negate() { throw throwUnsupportedExceptionForType("NEG"); }
/** * Multiply with a value and return the result. * * @param v the value to multiply with * @return the result */ public Value multiply(Value v) { throw throwUnsupportedExceptionForType("*"); }
/** * Add a value and return the result. * * @param v the value to add * @return the result */ public Value add(Value v) { throw throwUnsupportedExceptionForType("+"); }
/** * Subtract a value and return the result. * * @param v the value to subtract * @return the result */ public Value subtract(Value v) { throw throwUnsupportedExceptionForType("-"); }
/** * Take the modulus with a value and return the result. * * @param v the value to take the modulus with * @return the result */ public Value modulus(Value v) { throw throwUnsupportedExceptionForType("%"); }
public int getSignum() { throw throwUnsupportedExceptionForType("SIGNUM"); }