algoanim.variables
Class DoubleVariable
java.lang.Object
algoanim.variables.Variable
algoanim.variables.DoubleVariable
public class DoubleVariable
- extends Variable
|
Field Summary |
protected static java.lang.Double |
defaultValue
|
protected java.lang.Double |
value
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
defaultValue
protected static final java.lang.Double defaultValue
value
protected java.lang.Double value
DoubleVariable
public DoubleVariable()
DoubleVariable
public DoubleVariable(java.lang.Double value)
setValue
public void setValue(java.lang.Byte value)
- Specified by:
setValue in class Variable
setValue
public void setValue(java.lang.Long value)
- Specified by:
setValue in class Variable
setValue
public void setValue(java.lang.Short value)
- Specified by:
setValue in class Variable
getValue
public <T> T getValue(java.lang.Class<T> type)
- Description copied from class:
Variable
- generic getValue method
- Specified by:
getValue in class Variable
- Parameters:
type - the element
- Returns:
- the returned value
setValue
public void setValue(Variable var)
- Description copied from class:
Variable
- abstract setValue functions
- Specified by:
setValue in class Variable
setValue
public void setValue(java.lang.String value)
- Specified by:
setValue in class Variable
setValue
public void setValue(java.lang.Integer value)
- Specified by:
setValue in class Variable
setValue
public void setValue(java.lang.Float value)
- Specified by:
setValue in class Variable
setValue
public void setValue(java.lang.Double value)
- Specified by:
setValue in class Variable
setValue
public void setValue(java.lang.Boolean value)
- Specified by:
setValue in class Variable
toString
public java.lang.String toString()
- Specified by:
toString in class Variable