Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
With this interface it would be possible to perform generic operations on mutable numbers without worrying about the specific type, e.g.
// these two could be created in a different methods MutableNumber m = new MutableDouble(); Number n = ...; // this would do the right thing m.add(n);