java.lang
Class Float

java.lang.Object
  |
  +--java.lang.Float

public final class Float
extends Object


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)
           
Float(float value)
           
 
Method Summary
 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)
           
static Float valueOf(String s)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_VALUE

public static final float MAX_VALUE

MIN_VALUE

public static final float MIN_VALUE

NEGATIVE_INFINITY

public static final float NEGATIVE_INFINITY

POSITIVE_INFINITY

public static final float POSITIVE_INFINITY

NaN

public static final float NaN
Constructor Detail

Float

public Float(float value)

Float

public Float(double value)
Method Detail

toString

public static String toString(float f)

valueOf

public static Float valueOf(String s)
                     throws NumberFormatException

parseFloat

public static float parseFloat(String s)
                        throws NumberFormatException

isNaN

public static boolean isNaN(float v)

isInfinite

public static boolean isInfinite(float v)

isNaN

public boolean isNaN()

isInfinite

public boolean isInfinite()

toString

public String toString()
Description copied from class: Object
현 객체를 나타내는 문자열을 구한다.
Overrides:
toString in class Object
Following copied from class: java.lang.Object
Returns:
현 객체를 나타내는 문자열.

byteValue

public byte byteValue()

shortValue

public short shortValue()

intValue

public int intValue()

longValue

public long longValue()

floatValue

public float floatValue()

doubleValue

public double doubleValue()

hashCode

public int hashCode()
Description copied from class: Object
현 객체의 해쉬코드 값을 구한다.
Overrides:
hashCode in class Object
Following copied from class: java.lang.Object
Returns:
현 객체의 정수형 해쉬코드.

equals

public boolean equals(Object obj)
Description copied from class: Object
현 객체와 매개변수로 전달된 객체 값이 일치함을 검사한다.
Overrides:
equals in class Object
Following copied from class: java.lang.Object
Parameters:
obj - 비교할 대상.
Returns:
두 객체가 모두 같은 값을 가지면 참 아니면 거짓.

floatToIntBits

public static int floatToIntBits(float value)

intBitsToFloat

public static float intBitsToFloat(int bits)


AromaSoft Corp. Proprietary and Confidential

(C)opyright 2003 AromaSoft Corp. All right reserved.
Contact : contact@aromasoft.com