|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--java.lang.Float
| Field Summary | |
static float |
MAX_VALUE
|
static float |
MIN_VALUE
|
static float |
NaN
|
static float |
NEGATIVE_INFINITY
|
static float |
POSITIVE_INFINITY
|
| Constructor Summary | |
Float(double value)
Declare constructors |
|
Float(float value)
|
|
| Method Summary | |
byte |
byteValue()
Get the value of this Float as a byte |
double |
doubleValue()
Get the value of this Float as a double |
boolean |
equals(Object obj)
Test if the value of this object equals another objects value |
static int |
floatToIntBits(float value)
Returns the bit representation of a float |
float |
floatValue()
Returns the float value of this Float |
int |
hashCode()
Returns the hash value for this Float |
static float |
intBitsToFloat(int bits)
Returns the bit representation of a float |
int |
intValue()
Returns the integer value of this Float (by casting to an int) |
boolean |
isInfinite()
Returns true if this Float is infinitely large in magnitude |
static boolean |
isInfinite(float v)
Returns true if the Float passed in is infinitely large in magnitude |
boolean |
isNaN()
Returns true if this Float value is NaN (Not A Number) |
static boolean |
isNaN(float v)
Returns true if the float value passed in is NaN (Not A Number) |
long |
longValue()
Returns the long value of this Float by casting to a long |
static float |
parseFloat(java.lang.String s)
Returns a new float initialized with the value represented by the specified String |
short |
shortValue()
Returns the value of this Float as a short (by casting to a short) |
java.lang.String |
toString()
Returns a String representation of this Float object |
static java.lang.String |
toString(float f)
Returns a String representation for the specified float value. |
static Float |
valueOf(java.lang.String s)
Returns the floating point value represented by the String |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final float MAX_VALUE
public static final float MIN_VALUE
public static final float NaN
public static final float NEGATIVE_INFINITY
public static final float POSITIVE_INFINITY
| Constructor Detail |
public Float(double value)
public Float(float value)
| Method Detail |
public byte byteValue()
public double doubleValue()
public boolean equals(Object obj)
equals in class Objectobj - The other object
public static int floatToIntBits(float value)
value - the float value
public float floatValue()
public int hashCode()
hashCode in class Objectpublic static float intBitsToFloat(int bits)
public int intValue()
public boolean isInfinite()
public static boolean isInfinite(float v)
v - float to be tested
public boolean isNaN()
public static boolean isNaN(float v)
v - the float to be tested
public long longValue()
public static float parseFloat(java.lang.String s)
throws NumberFormatException
s - the string to be parsed
NumberFormatExceptionpublic short shortValue()
public java.lang.String toString()
toString in class Objectpublic static java.lang.String toString(float f)
f - the float to be converted
public static Float valueOf(java.lang.String s)
throws NumberFormatException
s - the String to be parsed
NumberFormatException
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||