On Aug 2, 2007, at 3:52 PM, Tore Halset wrote:
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.
I didn't quite understand the proposed solution (aside from the
"final" thing). What are we going to use NullNunber for? Could maybe
post some code examples?
Andrus