java.lang
Class Long

java.lang.Object
  extended by java.lang.Number
      extended by java.lang.Long

public final class Long
extends Number


Field Summary
static long MAX_VALUE
           
static long MIN_VALUE
           
static Class TYPE
           
 
Constructor Summary
Long(long value)
           
Long(String s)
           
 
Method Summary
 double doubleValue()
           
 boolean equals(Object obj)
           
 float floatValue()
           
static Long getLong(String nm)
           
static Long getLong(String nm, long val)
           
static Long getLong(String nm, Long val)
           
 int hashCode()
           
 int intValue()
           
 long longValue()
           
static long parseLong(String s)
           
static long parseLong(String s, int radix)
           
static String toBinaryString(long i)
           
static String toHexString(long i)
           
static String toOctalString(long i)
           
 String toString()
           
static String toString(long value)
           
static String toString(long value, int radix)
           
static Long valueOf(String s)
           
static Long valueOf(String s, int radix)
           
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait
 

Field Detail

TYPE

public static final Class TYPE

MIN_VALUE

public static final long MIN_VALUE
See Also:
Constant Field Values

MAX_VALUE

public static final long MAX_VALUE
See Also:
Constant Field Values
Constructor Detail

Long

public Long(long value)

Long

public Long(String s)
     throws NumberFormatException
Throws:
NumberFormatException
Method Detail

doubleValue

public double doubleValue()

equals

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

floatValue

public float floatValue()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

longValue

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

parseLong

public static long parseLong(String s)
                      throws NumberFormatException
Throws:
NumberFormatException

parseLong

public static long parseLong(String s,
                             int radix)
                      throws NumberFormatException
Throws:
NumberFormatException

toString

public String toString()
Overrides:
toString in class Object

toString

public static String toString(long value)

toString

public static String toString(long value,
                              int radix)

toHexString

public static String toHexString(long i)

toOctalString

public static String toOctalString(long i)

toBinaryString

public static String toBinaryString(long i)

valueOf

public static Long valueOf(String s)
                    throws NumberFormatException
Throws:
NumberFormatException

valueOf

public static Long valueOf(String s,
                           int radix)
                    throws NumberFormatException
Throws:
NumberFormatException

getLong

public static Long getLong(String nm)

getLong

public static Long getLong(String nm,
                           long val)

getLong

public static Long getLong(String nm,
                           Long val)

intValue

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