콘텐츠로 이동

Class Double

package java.lang

java.lang.Object
|
+--java.lang.Double

extends Object:

  • static double MAX_VALUE
  • static double MIN_VALUE
  • static double NaN
  • static double NEGATIVE_INFINITY
  • static double POSITIVE_INFINITY
  • Double (double value)
  • byte byteValue ()
  • static long doubleToLongBits (double value)
  • double doubleValue ()
  • boolean equals ( Object obj) — 현 객체와 매개변수로 전달된 객체 값이 일치함을 검사한다.
  • float floatValue ()
  • int hashCode () — 현 객체의 해쉬코드 값을 구한다.
  • int intValue ()
  • boolean isInfinite ()
  • static boolean isInfinite (double v)
  • boolean isNaN ()
  • static boolean isNaN (double v)
  • static double longBitsToDouble (long bits)
  • long longValue ()
  • static double parseDouble ( String s)
  • static double parseDouble0 ( String s)
  • short shortValue ()
  • String toString () — 현 객체를 나타내는 문자열을 구한다.
  • static String toString (double d)
  • static Double valueOf ( String s)
public static final double POSITIVE_INFINITY
public static final double NEGATIVE_INFINITY
public static final double NaN
public static final double MAX_VALUE
public static final double MIN_VALUE
public Double(double value)
public static String toString(double d)
public static Double valueOf(String s)
throws NumberFormatException
public static double parseDouble(String s)
throws NumberFormatException
public static double parseDouble0(String s)
throws NumberFormatException
public static boolean isNaN(double v)
public static boolean isInfinite(double v)
public boolean isNaN()
public boolean isInfinite()
public String toString()
  • Description copied from class: Object

Overrides:

  • toString in class Object
  • Following copied from class: java.lang.Object

Returns:

  • 현 객체를 나타내는 문자열.
public byte byteValue()
public short shortValue()
public int intValue()
public long longValue()
public float floatValue()
public double doubleValue()
public int hashCode()
  • Description copied from class: Object

Overrides:

  • hashCode in class Object
  • Following copied from class: java.lang.Object

Returns:

  • 현 객체의 정수형 해쉬코드.
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:

  • 두 객체가 모두 같은 값을 가지면 참 아니면 거짓.
public static long doubleToLongBits(double value)
public static double longBitsToDouble(long bits)
```## 생성자 상세
### Double
```java
public Double(double value)
public static String toString(double d)
public static Double valueOf(String s)
throws NumberFormatException
public static double parseDouble(String s)
throws NumberFormatException
public static double parseDouble0(String s)
throws NumberFormatException
public static boolean isNaN(double v)
public static boolean isInfinite(double v)
public boolean isNaN()
public boolean isInfinite()
public String toString()
  • Description copied from class: Object

Overrides:

  • toString in class Object
  • Following copied from class: java.lang.Object

Returns:

  • 현 객체를 나타내는 문자열.
public byte byteValue()
public short shortValue()
public int intValue()
public long longValue()
public float floatValue()
public double doubleValue()
public int hashCode()
  • Description copied from class: Object

Overrides:

  • hashCode in class Object
  • Following copied from class: java.lang.Object

Returns:

  • 현 객체의 정수형 해쉬코드.
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:

  • 두 객체가 모두 같은 값을 가지면 참 아니면 거짓.
public static long doubleToLongBits(double value)
public static double longBitsToDouble(long bits)
```## 메서드 상세
### toString
```java
public static String toString(double d)
public static Double valueOf(String s)
throws NumberFormatException
public static double parseDouble(String s)
throws NumberFormatException
public static double parseDouble0(String s)
throws NumberFormatException
public static boolean isNaN(double v)
public static boolean isInfinite(double v)
public boolean isNaN()
public boolean isInfinite()
public String toString()
  • Description copied from class: Object

Overrides:

  • toString in class Object
  • Following copied from class: java.lang.Object

Returns:

  • 현 객체를 나타내는 문자열.
public byte byteValue()
public short shortValue()
public int intValue()
public long longValue()
public float floatValue()
public double doubleValue()
public int hashCode()
  • Description copied from class: Object

Overrides:

  • hashCode in class Object
  • Following copied from class: java.lang.Object

Returns:

  • 현 객체의 정수형 해쉬코드.
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:

  • 두 객체가 모두 같은 값을 가지면 참 아니면 거짓.
public static long doubleToLongBits(double value)
public static double longBitsToDouble(long bits)

AromaSoft Corp. Proprietary and Confidential

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