All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.RefDouble

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

public class RefDouble
extends Object
A reference to a double.

Used to pass doubles 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:
RefFloat, RefInt, RefLong

Variable Index

 o val

Constructor Index

 o RefDouble()
 o RefDouble(double)

Variables

 o val
 public double val

Constructors

 o RefDouble
 public RefDouble()
 o RefDouble
 public RefDouble(double val)

All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs