java.lang
Class Float

java.lang.Object
  extended by java.lang.Number
      extended by java.lang.Float
All Implemented Interfaces:
Serializable, Comparable

public final class Float
extends Number
implements Comparable

See Also:
Serialized Form

Field Summary
static float MAX_VALUE
           
static float MIN_VALUE
           
static float NaN
           
static float NEGATIVE_INFINITY
           
static float POSITIVE_INFINITY
           
static Class TYPE
           
 
Constructor Summary
Float(double var0)
           
Float(float var0)
           
Float(String var0)
           
 
Method Summary
 byte byteValue()
           
 int compareTo(Float var0)
           
 int compareTo(Object var0)
           
 double doubleValue()
           
 boolean equals(Object var0)
           
static int floatToIntBits(float var0)
           
static int floatToRawIntBits(float var0)
           
 float floatValue()
           
 int hashCode()
           
static float intBitsToFloat(int var0)
           
 int intValue()
           
 boolean isInfinite()
           
static boolean isInfinite(float var0)
           
 boolean isNaN()
           
static boolean isNaN(float var0)
           
 long longValue()
           
static float parseFloat(String var0)
           
 short shortValue()
           
 String toString()
           
static String toString(float var0)
           
static Float valueOf(String var0)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_VALUE

public static final float MAX_VALUE
See Also:
Constant Field Values

MIN_VALUE

public static final float MIN_VALUE
See Also:
Constant Field Values

NaN

public static final float NaN
See Also:
Constant Field Values

POSITIVE_INFINITY

public static final float POSITIVE_INFINITY
See Also:
Constant Field Values

NEGATIVE_INFINITY

public static final float NEGATIVE_INFINITY
See Also:
Constant Field Values

TYPE

public static final Class TYPE
Constructor Detail

Float

public Float(float var0)

Float

public Float(double var0)

Float

public Float(String var0)
      throws NumberFormatException
Throws:
NumberFormatException
Method Detail

compareTo

public int compareTo(Float var0)

compareTo

public int compareTo(Object var0)
Specified by:
compareTo in interface Comparable

byteValue

public byte byteValue()
Overrides:
byteValue in class Number

doubleValue

public double doubleValue()
Specified by:
doubleValue in class Number

equals

public boolean equals(Object var0)
Overrides:
equals in class Object

floatToIntBits

public static int floatToIntBits(float var0)

floatToRawIntBits

public static int floatToRawIntBits(float var0)

floatValue

public float floatValue()
Specified by:
floatValue in class Number

hashCode

public int hashCode()
Overrides:
hashCode in class Object

intBitsToFloat

public static float intBitsToFloat(int var0)

intValue

public int intValue()
Specified by:
intValue in class Number

isInfinite

public boolean isInfinite()

isInfinite

public static boolean isInfinite(float var0)

isNaN

public boolean isNaN()

isNaN

public static boolean isNaN(float var0)

longValue

public long longValue()
Specified by:
longValue in class Number

parseFloat

public static float parseFloat(String var0)
                        throws NumberFormatException
Throws:
NumberFormatException

shortValue

public short shortValue()
Overrides:
shortValue in class Number

toString

public String toString()
Overrides:
toString in class Object

toString

public static String toString(float var0)

valueOf

public static Float valueOf(String var0)
                     throws NumberFormatException
Throws:
NumberFormatException


Copyright © 2006-2010 OSGi Alliance. All Rights Reserved.