|
[
Permalink
| « Hide
]
Peter Niederwieser added a comment - 17/May/07 08:24 AM
I suggest to keep putAt() a "void" method and just make a[0]=42 evaluate to 42 rather than null. This is consistent with properties, where setters have return type void and therefore a.setX(42) evaluates to null, whereas a.x=42 evaluates to 42.
|
|||||||||||||||||||||||||||||||||||||||||||||||||