Integer JDK 1.0

java.lang serializable comparable

Synopsis^  ?
public final class Integer extends Number implements Comparable {
// Public Constructors
    public Integer( int value);  
    public Integer( String s) throws NumberFormatException;  
// Public Constants
    public final static int MAX_VALUE; =2147483647 
    public final static int MIN_VALUE; =-2147483648 
1.1 public final static Class TYPE; 
// Public Class Methods
    public static Integer decode( String nm) throws NumberFormatException;  
    public static Integer getInteger( String nm);  
    public static Integer getInteger( String nm, int val);  
    public static Integer getInteger( String nm, Integer val);  
    public static int parseInt( String s) throws NumberFormatException;  
    public static int parseInt( String s, int radix) throws NumberFormatException;  
    public static String toBinaryString( int i);  
    public static String toHexString( int i);  
    public static String toOctalString( int i);  
    public static String toString( int i);  
    public static String toString( int i, int radix);  
    public static Integer valueOf( String s) throws NumberFormatException;  
    public static Integer valueOf( String s, int radix) throws NumberFormatException;  
// Public Instance Methods
2.0 public int compareTo( Integer anotherInteger);  
// 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>
   |
[Integer]---<Comparable>

Inherited Properties^  ?
Number: none
Object: class

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

Passed To^  ?
Integer.{compareTo(), getInteger()}

Returned By^  ?
Integer.{decode(), getInteger(), valueOf()}

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

Used By^  ?
Byte, Long, Object, Package, Short, 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.