com.electrotank.electroserver4.extensions.api.value
Class Number

java.lang.Object
  extended by com.electrotank.electroserver4.extensions.api.value.Number

public class Number
extends Object

Number data type, for consistency in passing Number values to and from ActionScript. Value of the Number is stored as a double.


Constructor Summary
Number(double value)
          Creates a new instance of Number, with the given value.
 
Method Summary
 double getValue()
          Gets the value of the Number object.
 void setValue(double value)
          Sets the value of the Number object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Number

public Number(double value)
Creates a new instance of Number, with the given value.

Parameters:
value - value of the Number
Method Detail

getValue

public double getValue()
Gets the value of the Number object.

Returns:
value

setValue

public void setValue(double value)
Sets the value of the Number object.

Parameters:
value - new value


Copyright © 2007 Electrotank, Inc. All Rights Reserved.