All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----Acme.RefInt
Used to pass ints to methods by reference, so they can be modified. You can't use the standard Integer/Long/Float/Double classes for this, because they are immutable - the number they represent can't be changed once the object is created. With these Ref classes, on the other hand, you can change the value all you want
Fetch the software.
Fetch the entire Acme package.
public int val
public RefInt()RefInt
public RefInt(int val)
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs