1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-12-22 07:20:09 -08:00

Remove functions that obviously don't work.

This commit is contained in:
Danila Fedorin 2017-07-24 14:25:59 -07:00
parent 8a3e5cc5c7
commit d0421d93ca
2 changed files with 1 additions and 12 deletions

View File

@ -48,13 +48,5 @@ public class NaiveNumber implements Number {
return new NaiveNumber(1); return new NaiveNumber(1);
} }
@Override
public Number valueOf(int val) {
return new NaiveNumber(value);
}
@Override
public Number valueOf(double val) {
return new NaiveNumber(value);
}
} }

View File

@ -12,7 +12,4 @@ public interface Number {
Number zero(); Number zero();
Number one(); Number one();
Number valueOf(int val);
Number valueOf(double val);
} }