All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.RefFloat

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

public class RefFloat
extends Object
RefFloat - a reference to a float

Used to pass floats 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, RefInt, RefLong

Variable Index

 o val

Constructor Index

 o RefFloat()
 o RefFloat(float)

Variables

 o val
 public float val

Constructors

 o RefFloat
 public RefFloat()
 o RefFloat
 public RefFloat(float val)

All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs