mirror of
https://github.com/DanilaFe/abacus
synced 2024-12-22 15:30:09 -08:00
Remove functions that obviously don't work.
This commit is contained in:
parent
8a3e5cc5c7
commit
d0421d93ca
|
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,4 @@ public interface Number {
|
||||||
Number zero();
|
Number zero();
|
||||||
Number one();
|
Number one();
|
||||||
|
|
||||||
Number valueOf(int val);
|
|
||||||
Number valueOf(double val);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user