Byte JDK 1.1

java.lang serializable comparable

Synopsis^  ?
public final class Byte extends Number implements Comparable {
// Public Constructors
    public Byte( String s) throws NumberFormatException;  
    public Byte( byte value);  
// Public Constants
    public final static byte MAX_VALUE; =127 
    public final static byte MIN_VALUE; =-128 
    public final static Class TYPE; 
// Public Class Methods
    public static Byte decode( String nm) throws NumberFormatException;  
    public static byte parseByte( String s) throws NumberFormatException;  
    public static byte parseByte( String s, int radix) throws NumberFormatException;  
    public static String toString( byte b);  
    public static Byte valueOf( String s) throws NumberFormatException;  
    public static Byte valueOf( String s, int radix) throws NumberFormatException;  
// Public Instance Methods
2.0 public int compareTo( Byte anotherByte);  
// Methods implementing Comparable
2.0 public int compareTo( Object o);  
// Public methods overriding Number
    public byte byteValue( );  
    public double doubleValue( );  
    public float floatValue( );  
    public int intValue( );  
    public long longValue( );  
    public short shortValue( );  
// Public methods overriding Object
    public boolean equals( Object obj);  
    public int hashCode( );  
    public String toString( );  
}

Hierarchy^  ?

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

Inherited Properties^  ?
Number: none
Object: class

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

Passed To^  ?
Byte.compareTo()

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

Uses^  ?
Class, Comparable, Integer, Number, NumberFormatException, Object, 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.