diff --git a/src/org/nwapw/abacus/number/NaiveNumber.java b/src/org/nwapw/abacus/number/NaiveNumber.java index 1bb73b8..0ac9418 100644 --- a/src/org/nwapw/abacus/number/NaiveNumber.java +++ b/src/org/nwapw/abacus/number/NaiveNumber.java @@ -48,13 +48,5 @@ public class NaiveNumber implements Number { return new NaiveNumber(1); } - @Override - public Number valueOf(int val) { - return new NaiveNumber(value); - } - - @Override - public Number valueOf(double val) { - return new NaiveNumber(value); - } } + diff --git a/src/org/nwapw/abacus/number/Number.java b/src/org/nwapw/abacus/number/Number.java index 0f11c45..c2e7540 100755 --- a/src/org/nwapw/abacus/number/Number.java +++ b/src/org/nwapw/abacus/number/Number.java @@ -12,7 +12,4 @@ public interface Number { Number zero(); Number one(); - Number valueOf(int val); - Number valueOf(double val); - }