3 ms·
Immutability would allow you to re-use Amount instances; this is what the Integer class does for "common" int values (I believe -127 thru 128).
by brown9-2 16y ago
Immutability would allow you to re-use Amount instances; this is what the Integer class does for "common" int values (I believe -127 thru 128).
- fauigerzigerk 16y agoTrue but it doesn't solve my problem which is the extra pointer I need to hold the Amount object.