java.lang
Class Long

java.lang.Object
  extended by java.lang.Number
      extended by java.lang.Long
All Implemented Interfaces:
Serializable, Comparable

public final class Long
extends Number
implements Comparable

See Also:
Serialized Form

Field Summary
static long MAX_VALUE
           
static long MIN_VALUE
           
static Class TYPE
           
 
Constructor Summary
Long(long var0)
           
Long(String var0)
           
 
Method Summary
 byte byteValue()
           
 int compareTo(Long var0)
           
 int compareTo(Object var0)
           
static Long decode(String var0)
           
 double doubleValue()
           
 boolean equals(Object var0)
           
 float floatValue()
           
static Long getLong(String var0)
           
static Long getLong(String var0, long var1)
           
static Long getLong(String var0, Long var1)
           
 int hashCode()
           
 int intValue()
           
 long longValue()
           
static long parseLong(String var0)
           
static long parseLong(String var0, int var1)
           
 short shortValue()
           
static String toBinaryString(long var0)
           
static String toHexString(long var0)
           
static String toOctalString(long var0)
           
 String toString()
           
static String toString(long var0)
           
static String toString(long var0, int var1)
           
static Long valueOf(String var0)
           
static Long valueOf(String var0, int var1)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_VALUE

public static final long MAX_VALUE
See Also:
Constant Field Values

MIN_VALUE

public static final long MIN_VALUE
See Also:
Constant Field Values

TYPE

public static final Class TYPE
Constructor Detail

Long

public Long(long var0)

Long

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

byteValue

public byte byteValue()
Overrides:
byteValue in class Number

compareTo

public int compareTo(Long var0)

compareTo

public int compareTo(Object var0)
Specified by:
compareTo in interface Comparable

decode

public static Long decode(String var0)
                   throws NumberFormatException
Throws:
NumberFormatException

doubleValue

public double doubleValue()
Specified by:
doubleValue in class Number

equals

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

floatValue

public float floatValue()
Specified by:
floatValue in class Number

getLong

public static Long getLong(String var0)

getLong

public static Long getLong(String var0,
                           long var1)

getLong

public static Long getLong(String var0,
                           Long var1)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

intValue

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

longValue

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

parseLong

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

parseLong

public static long parseLong(String var0,
                             int var1)
                      throws NumberFormatException
Throws:
NumberFormatException

shortValue

public short shortValue()
Overrides:
shortValue in class Number

toBinaryString

public static String toBinaryString(long var0)

toHexString

public static String toHexString(long var0)

toOctalString

public static String toOctalString(long var0)

toString

public String toString()
Overrides:
toString in class Object

toString

public static String toString(long var0)

toString

public static String toString(long var0,
                              int var1)

valueOf

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

valueOf

public static Long valueOf(String var0,
                           int var1)
                    throws NumberFormatException
Throws:
NumberFormatException


Copyright © 2006-2010 OSGi Alliance. All Rights Reserved.