Tuesday 12 March 2013

java.lang Float


java.lang
Float

Declaration
public final class Float
java.lang.Object
|
+--java.lang.Float
Description
The Float class wraps a value of primitive type float in an object. An object of type Float contains a single
field whose type is float.
In addition, this class provides several methods for converting a float to a String and a String to a
float, as well as other constants and methods useful when dealing with a float.

Fields
static float MAX_VALUE
static float MIN_VALUE
static float NaN
static float NEGATIVE_INFINITY
static float POSITIVE_INFINITY
Constructors
Float(double value)
Float(float value)
Methods
byte byteValue()
double doubleValue()
boolean equals(Object obj)
static int floatToIntBits(float value)
float floatValue()
int hashCode()
static float intBitsToFloat(int bits)
int intValue()
boolean isInfinite()
static boolean isInfinite(float v)
boolean isNaN()
static boolean isNaN(float v)
long longValue()
static float parseFloat(String s)
short shortValue()
String toString()
static String toString(float f)

Member Summary

static Float valueOf(String s)
Inherited Member Summary
Methods inherited from class Object
getClass(), notify(), notifyAll(), wait(), wait(), wait()



No comments:

Post a Comment