News for hackers. Stuff that matters.
Re:JDK 7 Features by brown9-2 on Monday September 20, 2010 @08:41AM (#1708561)
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).
Re:JDK 7 Features by fauigerzigerk on Monday September 20, 2010 @09:27AM (#1708684)
True but it doesn't solve my problem which is the extra pointer I need to hold the Amount object.