1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-11-04 18:08:31 -08:00

Add Number interface.

This commit is contained in:
Arthur Drobot 2017-07-24 10:56:50 -07:00
parent 8fcf8c747d
commit 239ab7b73f

22
src/org/nwapw/abacus/number/Number.java Normal file → Executable file
View File

@ -1,11 +1,11 @@
package org.nwapw.abacus.number;
public interface Number {
Number multiply(Number multiplier);
Number divide(Number divisor);
Number add(Number summand);
Number subtract(Number subtrahend);
Number negate();
}
package org.nwapw.abacus.number;
public interface Number {
Number multiply(Number multiplier);
Number divide(Number divisor);
Number add(Number summand);
Number subtract(Number subtrahend);
Number negate();
}