mirror of
https://github.com/DanilaFe/abacus
synced 2024-12-22 07:20:09 -08:00
Create Number interface.
This commit is contained in:
parent
cb14239b95
commit
8fcf8c747d
11
src/org/nwapw/abacus/number/Number.java
Normal file
11
src/org/nwapw/abacus/number/Number.java
Normal file
|
@ -0,0 +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();
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user