From 8fcf8c747d98820a63f0a493ed1c94591388ee65 Mon Sep 17 00:00:00 2001 From: Artur Drobot <405502@bsd48.org> Date: Mon, 24 Jul 2017 10:53:23 -0700 Subject: [PATCH] Create Number interface. --- src/org/nwapw/abacus/number/Number.java | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/org/nwapw/abacus/number/Number.java diff --git a/src/org/nwapw/abacus/number/Number.java b/src/org/nwapw/abacus/number/Number.java new file mode 100644 index 0000000..726bd23 --- /dev/null +++ b/src/org/nwapw/abacus/number/Number.java @@ -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(); + +}