On Aug 2, 2007, at 14:43 , Tore Halset wrote:

Handling null as 0 can probably lead to other problems as well. Perhaps 'NullNumber extends Number' could be used? Or creating a (empty) Null-interface and then subclass Integer, Long and so on?

The last one would not work as Integer is final.

 - Tore.




Reply via email to