Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.lang.Long

Availability: JDK 1.0

public final class Long extends Number {
   // Public Constructors
      public Long(long value);
      public Long(String s) throws NumberFormatException;
   // Constants
      public static final long MAX_VALUE;
      public static final long MIN_VALUE;
1.1  public static final Class TYPE;
   // Class Methods
      public static Long getLong(String nm);
      public static Long getLong(String nm, long val);
      public static Long getLong(String nm, Long val);
      public static long parseLong(String s, int radix) throws NumberFormatException;
      public static long parseLong(String s) throws NumberFormatException;
      public static String toBinaryString(long i);
      public static String toHexString(long i);
      public static String toOctalString(long i);
      public static String toString(long i, int radix);
      public static String toString(long i);
      public static Long valueOf(String s, int radix) throws NumberFormatException;
      public static Long valueOf(String s) throws NumberFormatException;
   // Public Instance Methods
1.1  public byte byteValue();  // Overrides Number.byteValue()
      public double doubleValue();  // Defines Number.doubleValue()
      public boolean equals(Object obj);  // Overrides Object.equals()
      public float floatValue();  // Defines Number.floatValue()
      public int hashCode();  // Overrides Object.hashCode()
      public int intValue();  // Defines Number.intValue()
      public long longValue();  // Defines Number.longValue()
1.1  public short shortValue();  // Overrides Number.shortValue()
      public String toString();  // Overrides Object.toString()
}
Passed To:
Long.getLong().
Returned By:
Long.getLong(), Long.valueOf().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.

Casa de Bender