/** * Returns the sum of this IntegerValue and the given UnknownIntegerValue. */ public IntegerValue add(UnknownIntegerValue other) { return add((IntegerValue)other); }
/** * Returns the logical <i>and</i> of this IntegerValue and the given * SpecificIntegerValue. */ public IntegerValue and(SpecificIntegerValue other) { return and((IntegerValue)other); }
public IntegerValue divideOf(IntegerValue other) throws ArithmeticException { return other.divide(this); }
stack.push(stack.ipop().add(stack.ipop())); break; stack.push(stack.ipop().subtractFrom(stack.ipop())); break; stack.push(stack.ipop().multiply(stack.ipop())); break; stack.push(stack.ipop().divideOf(stack.ipop())); stack.push(stack.ipop().remainderOf(stack.ipop())); stack.push(stack.ipop().negate()); break; stack.push(stack.ipop().shiftLeftOf(stack.ipop())); break; stack.push(stack.ipop().shiftLeftOf(stack.lpop())); break; stack.push(stack.ipop().shiftRightOf(stack.ipop())); break; stack.push(stack.ipop().shiftRightOf(stack.lpop())); break; stack.push(stack.ipop().unsignedShiftRightOf(stack.ipop()));
public IntegerValue divide(IntegerValue other) throws ArithmeticException { return other.divideOf(this); }
stack.push(stack.ipop().add(stack.ipop())); break; stack.push(stack.ipop().subtractFrom(stack.ipop())); break; stack.push(stack.ipop().multiply(stack.ipop())); break; stack.push(stack.ipop().divideOf(stack.ipop())); stack.push(stack.ipop().remainderOf(stack.ipop())); stack.push(stack.ipop().negate()); break; stack.push(stack.ipop().shiftLeftOf(stack.ipop())); break; stack.push(stack.ipop().shiftLeftOf(stack.lpop())); break; stack.push(stack.ipop().shiftRightOf(stack.ipop())); break; stack.push(stack.ipop().shiftRightOf(stack.lpop())); break; stack.push(stack.ipop().unsignedShiftRightOf(stack.ipop()));
/** * Returns the quotient of the given SpecificIntegerValue and this * IntegerValue. */ public IntegerValue divideOf(SpecificIntegerValue other) { return divideOf((IntegerValue)other); }
stack.push(stack.ipop().add(stack.ipop())); break; stack.push(stack.ipop().subtractFrom(stack.ipop())); break; stack.push(stack.ipop().multiply(stack.ipop())); break; stack.push(stack.ipop().divideOf(stack.ipop())); stack.push(stack.ipop().remainderOf(stack.ipop())); stack.push(stack.ipop().negate()); break; stack.push(stack.ipop().shiftLeftOf(stack.ipop())); break; stack.push(stack.ipop().shiftLeftOf(stack.lpop())); break; stack.push(stack.ipop().shiftRightOf(stack.ipop())); break; stack.push(stack.ipop().shiftRightOf(stack.lpop())); break; stack.push(stack.ipop().unsignedShiftRightOf(stack.ipop()));
/** * Returns the sum of this IntegerValue and the given ParticularIntegerValue. */ public IntegerValue add(ParticularIntegerValue other) { return add((SpecificIntegerValue)other); }
public IntegerValue divide(IntegerValue other) throws ArithmeticException { return other.divideOf(this); }
/** * Returns the quotient of this IntegerValue and the given * SpecificIntegerValue. */ public IntegerValue divide(SpecificIntegerValue other) { return divide((IntegerValue)other); }
/** * Returns the logical <i>and</i> of this IntegerValue and the given * SpecificIntegerValue. */ public IntegerValue and(SpecificIntegerValue other) { return and((IntegerValue)other); }
stack.push(stack.ipop().add(stack.ipop())); break; stack.push(stack.ipop().subtractFrom(stack.ipop())); break; stack.push(stack.ipop().multiply(stack.ipop())); break; stack.push(stack.ipop().divideOf(stack.ipop())); stack.push(stack.ipop().remainderOf(stack.ipop())); stack.push(stack.ipop().negate()); break; stack.push(stack.ipop().shiftLeftOf(stack.ipop())); break; stack.push(stack.ipop().shiftLeftOf(stack.lpop())); break; stack.push(stack.ipop().shiftRightOf(stack.ipop())); break; stack.push(stack.ipop().shiftRightOf(stack.lpop())); break; stack.push(stack.ipop().unsignedShiftRightOf(stack.ipop()));
/** * Returns the sum of this IntegerValue and the given SpecificIntegerValue. */ public IntegerValue add(SpecificIntegerValue other) { return add((IntegerValue)other); }
/** * Returns the quotient of the given UnknownIntegerValue and this * IntegerValue. */ public IntegerValue divideOf(UnknownIntegerValue other) { return divideOf((IntegerValue)other); }
public IntegerValue divideOf(IntegerValue other) throws ArithmeticException { return other.divide(this); }
/** * Returns the logical <i>and</i> of this IntegerValue and the given * ParticularIntegerValue. */ public IntegerValue and(ParticularIntegerValue other) { return and((SpecificIntegerValue)other); }
/** * Returns the sum of this IntegerValue and the given ParticularIntegerValue. */ public IntegerValue add(ParticularIntegerValue other) { return add((SpecificIntegerValue)other); }
public IntegerValue divide(IntegerValue other) throws ArithmeticException { return other.divideOf(this); }
/** * Returns the quotient of this IntegerValue and the given * UnknownIntegerValue. */ public IntegerValue divide(UnknownIntegerValue other) { return divide((IntegerValue)other); }