java.lang
Class Double
java.lang.Object
|
+--java.lang.Double
- public final class Double
- extends Object
Constructor Summary |
Double(double value)
|
POSITIVE_INFINITY
public static final double POSITIVE_INFINITY
NEGATIVE_INFINITY
public static final double NEGATIVE_INFINITY
NaN
public static final double NaN
MAX_VALUE
public static final double MAX_VALUE
MIN_VALUE
public static final double MIN_VALUE
Double
public Double(double value)
toString
public static String toString(double d)
valueOf
public static Double valueOf(String s)
throws NumberFormatException
parseDouble
public static double parseDouble(String s)
throws NumberFormatException
parseDouble0
public static double parseDouble0(String s)
throws NumberFormatException
isNaN
public static boolean isNaN(double v)
isInfinite
public static boolean isInfinite(double 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:
- 두 객체가 모두 같은 값을 가지면 참 아니면 거짓.
doubleToLongBits
public static long doubleToLongBits(double value)
longBitsToDouble
public static double longBitsToDouble(long bits)
AromaSoft Corp. Proprietary and Confidential
(C)opyright 2003 AromaSoft Corp. All right reserved.
Contact : contact@aromasoft.com