All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.RefLong

java.lang.Object
   |
   +----Acme.RefLong

public class RefLong
extends Object
RefLong - a reference to a long

Used to pass longs 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.

See Also:
RefDouble, RefFloat, RefInt

Variable Index

 o val

Constructor Index

 o RefLong()
 o RefLong(long)

Variables

 o val
 public long val

Constructors

 o RefLong
 public RefLong()
 o RefLong
 public RefLong(long val)

All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs