Java won't let you modify an Integer; not sure how that's more efficient, but...here's one that let's you modify it. Frightening I have to implement this myself. Blech.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.