|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.ejs.control.value.Value org.opensourcephysics.ejs.control.value.DoubleValue
public class DoubleValue
A DoubleValue
is a Value
object that
holds a double value.
Value
Field Summary | |
---|---|
double |
value
|
Constructor Summary | |
---|---|
DoubleValue(double _val)
Constructor DoubleValue |
Method Summary | |
---|---|
boolean |
getBoolean()
Returns the value of the variable as a boolean |
double |
getDouble()
Returns the value of the variable as a double |
int |
getInteger()
Returns the value of the variable as an int |
java.lang.Object |
getObject()
Returns the value of the variable as an Object. |
java.lang.String |
getString()
Returns the value of the variable as a String |
Methods inherited from class org.opensourcephysics.ejs.control.value.Value |
---|
cloneValue, copyValue, parseConstant, parseConstantOrArray, removeScapes, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public double value
Constructor Detail |
---|
public DoubleValue(double _val)
_val
- Method Detail |
---|
public boolean getBoolean()
Value
getBoolean
in class Value
public int getInteger()
Value
getInteger
in class Value
public double getDouble()
Value
getDouble
in class Value
public java.lang.String getString()
Value
getString
in class Value
public java.lang.Object getObject()
Value
getObject
in class Value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |