public static NumberData $$negative(NumberData operand) { if (operand instanceof IntegerData) { return IntegerData.forValue( - operand.integerValue() ); } else { return FloatData.forValue( - operand.floatValue() ); } }
public static NumberData $$negative(NumberData operand) { if (operand instanceof IntegerData) { return IntegerData.forValue( - operand.integerValue() ); } else { return FloatData.forValue( - operand.floatValue() ); } }