mirror of
https://github.com/DanilaFe/abacus
synced 2024-11-04 18:08:31 -08:00
Add Number interface.
This commit is contained in:
parent
8fcf8c747d
commit
239ab7b73f
22
src/org/nwapw/abacus/number/Number.java
Normal file → Executable file
22
src/org/nwapw/abacus/number/Number.java
Normal file → Executable 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();
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user