|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Number | +--com.blueworld.lassopro.FloatValue
Wrapper for a primitive type float
or double
.
Used for returning decimal values from LassoCall.typeGetDecimal
method.
FloatValue f = new FloatValue(); if ( lasso.typeGetDecimal( newQuote, f ) == ERR_NOERR ) { lasso.outputTagData( "'AAPL': " + f.toString() ); }
Constructor Summary | |
FloatValue()
|
|
FloatValue(double value)
|
|
FloatValue(float value)
|
Method Summary | |
byte |
byteValue()
Returns the value of this object as a byte . |
double |
doubleValue()
Returns the value of this FloatValue as a double . |
float |
floatValue()
Returns the value of this FloatValue as a float . |
int |
intValue()
Returns the value of this object as an int . |
long |
longValue()
Returns the value of this object as a long . |
void |
setDouble(double value)
|
void |
setFloat(float value)
|
short |
shortValue()
Returns the value of this object as a short . |
java.lang.String |
toString()
Converts the object to a string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FloatValue()
public FloatValue(float value)
public FloatValue(double value)
Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public byte byteValue()
byte
.
byteValue
in class java.lang.Number
public short shortValue()
short
.
shortValue
in class java.lang.Number
public int intValue()
int
.
intValue
in class java.lang.Number
public long longValue()
long
.
longValue
in class java.lang.Number
public float floatValue()
FloatValue
as a float
.
floatValue
in class java.lang.Number
public double doubleValue()
FloatValue
as a double
.
doubleValue
in class java.lang.Number
public void setFloat(float value)
public void setDouble(double value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |