Long JDK 1.0

java.lang serializable comparable

Synopsis^  ?
public final class Long extends Number implements Comparable {
// Public Constructors
    public Long( long value);  
    public Long( String s) throws NumberFormatException;  
// Public Constants
    public final static long MAX_VALUE; =9223372036854775807 
    public final static long MIN_VALUE; =-9223372036854775808 
1.1 public final static Class TYPE; 
// Public Class Methods
2.0 public static Long decode( String nm) throws NumberFormatException;  
    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) throws NumberFormatException;  
    public static long parseLong( String s, int radix) 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);  
    public static String toString( long i, int radix);  
    public static Long valueOf( String s) throws NumberFormatException;  
    public static Long valueOf( String s, int radix) throws NumberFormatException;  
// Public Instance Methods
2.0 public int compareTo( Long anotherLong);  
// Methods implementing Comparable
2.0 public int compareTo( Object o);  
// Public methods overriding Number
1.1 public byte byteValue( );  
    public double doubleValue( );  
    public float floatValue( );  
    public int intValue( );  
    public long longValue( );  
1.1 public short shortValue( );  
// Public methods overriding Object
    public boolean equals( Object obj);  
    public int hashCode( );  
    public String toString( );  
}

Hierarchy^  ?

[Object]
   |
[Number]---<Serializable>
   |
[Long]---<Comparable>

Inherited Properties^  ?
Number: none
Object: class

Inherited Methods^  ?
Number: none
Object: clone(), finalize(), notify(), notifyAll(), wait(), wait(), wait()

Passed To^  ?
Long.{compareTo(), getLong()}

Returned By^  ?
Long.{decode(), getLong(), valueOf()}

Uses^  ?
Character, Class, Comparable, Integer, Number, NumberFormatException, Object, String, StringBuffer, System

Used By^  ?
String


Java Power Reference. Created by David Flanagan.
Copyright © 1999 O'Reilly & Associates.All Rights Reserved.

This file may not be distributed on the Internet.