📄 java3.txt
字号:
Class Hierarchy Diagrams
* java.applet
* java.lang
* java.lang-errors
* java.lang-exceptions
* java.io
* java.net
* java.awt
* java.awt-components
* java.awt-layouts
* java.awt.image
* java.awt.peer
* java.util
----------
appendix C
The Java Class Library
by Laura Lemay
CONTENTS
* java.lang
* Interfaces
* Classes
* java.util
* Interfaces
* Classes
* java.io
* Interfaces
* Classes
* java.net
* Interfaces
* Classes
* java.awt
* Interfaces
* Classes
* java.awt.image
* Interfaces
* Classes
* java.awt.peer
* java.applet
* Interfaces
* Classes
This appendix provides a general overview of the classes
available in the standard Java packages (that is, the classes
that are guaranteed to be available in any Java implementation).
This appendix is intended for general reference; for more
information about class inheritance and the exceptions defined
for each package, see appendix B, "Class Hierarchy Diagrams."
For more specific information about each class and the methods
within each class, see the API documentation from Sun at
http://java.sun.com. A copy of the 1.0 API documentation is on
the CD-ROM included with this book.
java.lang
The java.lang package contains the classes and interfaces that
make up the core Java language.
Interfaces
Cloneable Interface indicating that an object may be
copied or cloned
Runnable Methods for classes that want to run as threads
Classes
Boolean Object wrapper for boolean values
Character Object wrapper for char values
Class Runtime representations of classes
ClassLoader Abstract behavior for handling loading of
classes
Compiler System class that gives access to the Java
compiler
Double Object wrapper for double values
Float Object wrapper for float values
Integer Object wrapper for int values
Long Object wrapper for long values
Math Utility class for math operations
Number Abstract superclass of all number classes
(Integer, Float, and so on)
Object Generic Object class, at top of
inheritance hierarchy
Process Abstract behavior for processes such as
those spawned using methods in the System
class
Runtime Access to the Java runtime
SecurityManager Abstract behavior for implementing
security policies
String Character strings
StringBuffer Mutable strings
System Access to Java's system-level behavior,
provided in a platform-independent way
Thread Methods for managing threads and classes
that run in threads
ThreadDeath Class of object thrown when a thread is
asynchronously terminated
ThreadGroup A group of threads
Throwable Generic exception class; all objects
thrown must be a Throwable
java.util
The java.util package contains various utility classes and
interfaces, including random numbers, system properties, and
other useful classes.
Interfaces
Enumeration Methods for enumerating sets of values
Observer Methods for allowing classes to observe
Observable objects
Classes
BitSet A set of bits
Date The current system date, as well as
methods for generating and parsing dates
Dictionary An abstract class that maps between keys
and values (superclass of HashTable)
HashTable A hash table
Observable An abstract class for observable objects
Properties A hash table that contains behavior for
setting and retrieving persistent
properties of the system or of a class
Random Utilities for generating random numbers
Stack A stack (a last-in-first-out queue)
StringTokenizer Utilities for splitting strings into a
sequence of individual "tokens"
Vector A growable array of Objects
java.io
The java.io package provides input and output classes and
interfaces for streams and files.
Interfaces
DataInput Methods for reading machine-independent
typed input streams
DataOutput Methods for writing machine-independent
typed output streams
FilenameFilter Methods for filtering filenames
Classes
BufferedInputStream A buffered input stream
BufferedOutputStream A buffered output stream
ByteArrayInputStream An input stream from a byte array
ByteArrayOutputStream An output stream to a byte array
DataInputStream Enables you to read primitive Java
types (ints, chars, booleans, and
so on) from a stream in a
machine-independent way
DataOutputStream Enables you to write primitive
Java data types (ints, chars,
booleans, and so on) to a stream
in a machine-independent way
File Represents a file on the host's
file system
FileDescriptor Holds onto the UNIX-like file
descriptor of a file or socket
FileInputStream An input stream from a file,
constructed using a filename or
descriptor
FileOutputStream An output stream to a file,
constructed using a filename or
descriptor
FilterInputStream Abstract class that provides a
filter for input streams (and for
adding stream functionality such
as buffering)
FilterOutputStream Abstract class that provides a
filter for output streams (and for
adding stream functionality such
as buffering)
InputStream An abstract class representing an
input stream of bytes; the parent
of all input streams in this
package
LineNumberInputStream An input stream that keeps track
of line numbers
OutputStream An abstract class representing an
output stream of bytes; the parent
of all output streams in this
package
PipedInputStream A piped input stream, which should
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -