|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Long
Primitive 타입인 Long 타입을 지원하기 위한 Wrap 클래스.
Field Summary | |
static long |
MAX_VALUE
Long타입의 최대값. |
static long |
MIN_VALUE
Long타입의 최소값. |
Constructor Summary | |
Long(long value)
Long 객체를 생성한다. |
Method Summary | |
double |
doubleValue()
|
boolean |
equals(Object obj)
현 객체와 매개변수로 전달된 객체 값이 일치함을 검사한다. |
float |
floatValue()
|
int |
hashCode()
현 객체의 해쉬코드 값을 구한다. |
long |
longValue()
현 객체의 값을 구한다. |
static long |
parseLong(String s)
주어진 문자열을 10진법에 의해 Long형으로 변환한다. |
static long |
parseLong(String s,
int radix)
주어진 문자열을 특정 진법에 의해 Long형으로 변환한다. |
String |
toString()
현 객체값을 나타내는 문자열을 구한다. |
static String |
toString(long i)
Long형 매개변수를 10진수 문자열로 변환한다. |
static String |
toString(long i,
int radix)
Long형 매개변수를 특정 진수 문자열로 변환한다. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final long MIN_VALUE
public static final long MAX_VALUE
Constructor Detail |
public Long(long value)
value
- 초기값.Method Detail |
public boolean equals(Object obj)
equals
in class Object
obj
- 비교할 대상.public int hashCode()
hashCode
in class Object
public long longValue()
public float floatValue()
public double doubleValue()
public static long parseLong(String s) throws NumberFormatException
s
- 변환할 문자열.NumberFormatException
- 문자열이 변환될 수 없울 때 발생.public static long parseLong(String s, int radix) throws NumberFormatException
s
- 변환할 문자열.radix
- 변환 진법.NumberFormatException
- 문자열이 변환될 수 없울 때 발생.public static String toString(long i)
i
- 변환할 Long타입 값.public String toString()
toString
in class Object
public static String toString(long i, int radix)
i
- 변환할 Long타입 값.redix
- 변환 진법.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AromaSoft Corp. Proprietary and Confidential
(C)opyright 2003 AromaSoft Corp. All right reserved.
Contact : contact@aromasoft.com