📄 package-summary.html
字号:
<TD WIDTH="15%"><B><A HREF="OutOfMemoryError.html">OutOfMemoryError</A></B></TD><TD>Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="StackOverflowError.html">StackOverflowError</A></B></TD><TD>Thrown when a stack overflow occurs because an application recurses too deeply.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ThreadDeath.html">ThreadDeath</A></B></TD><TD>An instance of <code>ThreadDeath</code> is thrown in the victim thread when the <code>stop</code> method with zero arguments in class <code>Thread</code> is called.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="UnknownError.html">UnknownError</A></B></TD><TD>Thrown when an unknown but serious exception has occurred in the Java Virtual Machine.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="UnsatisfiedLinkError.html">UnsatisfiedLinkError</A></B></TD><TD>Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared <code>native</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="UnsupportedClassVersionError.html">UnsupportedClassVersionError</A></B></TD><TD>Thrown when the Java Virtual Machine attempts to read a class file and determines that the major and minor version numbers in the file are not supported.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="VerifyError.html">VerifyError</A></B></TD><TD>Thrown when the "verifier" detects that a class file, though well formed, contains some sort of internal inconsistency or security problem.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="VirtualMachineError.html">VirtualMachineError</A></B></TD><TD>Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.</TD></TR></TABLE> <P><A NAME="package_description"><!-- --></A><H2>Package java.lang Description</H2><P>Provides classes that are fundamental to the design of the Javaprogramming language. The most important classes are <code>Object</code>,which is the root of the class hierarchy, and <code>Class</code>, instances ofwhich represent classes at run time.<p>Frequently it is necessary to represent a value of primitive type asif it were an object. The wrapper classes <code>Boolean</code>,<code>Character</code>, <code>Integer</code>, <code>Long</code>, <code>Float</code>, and<code>Double</code> serve this purpose. An object of type <code>Double</code>,for example, contains a field whose type is double, representing thatvalue in such a way that a reference to it can be stored in a variableof reference type. These classes also provide a number of methods forconverting among primitive values, as well as supporting suchstandard methods as equals and hashCode. The <code>Void</code> class is anon-instantiable class that holds a reference to a <code>Class</code> objectrepresening the primitive type void.<p>The class <code>Math</code> provides commonly used mathematical functions suchas sine, cosine, and square root. The classes <code>String</code> and<code>StringBuffer</code> similarly provide commonly used operations oncharacter strings.<p>Classes <code>ClassLoader</code>, <code>Process</code>, <code>Runtime</code>,<code>SecurityManager</code>, and <code>System</code> provide "system operations"that manage the dynamic loading of classes, creation of external processes,host environment inquiries such as the time of day, and enforcement ofsecurity policies.<p>Class <code>Throwable</code> encompasses objects that may be thrown by thethrow statement (§14.16). Subclasses of <code>Throwable</code> represent errorsand exceptions.<p><h2>Package Specification</h2><a name="charenc"></a><h3>Character Encodings</h3>Various constructors and methods in the <A HREF="../../java/lang/package-summary.html">java.lang</A> and <A HREF="../../java/io/package-summary.html">java.io</A>packages accept string arguments that specify the character encoding to be usedwhen converting between raw eight-bit bytes and sixteen-bit Unicode characters.Such encodings are named by strings composed of the following characters:<ul> <li> The uppercase letters <tt>'A'</tt> through <tt>'Z'</tt> (<tt>'\u0041'</tt> through <tt>'\u005a'</tt>), <li> The lowercase letters <tt>'a'</tt> through <tt>'z'</tt> (<tt>'\u0061'</tt> through <tt>'\u007a'</tt>), <li> The digits <tt>'0'</tt> through <tt>'9'</tt> (<tt>'\u0030'</tt> through <tt>'\u0039'</tt>), <li> The dash character <tt>'-'</tt> (<tt>'\u002d'</tt>, <small>HYPHEN-MINUS</small>), <li> The colon character <tt>':'</tt> (<tt>'\u003a'</tt>, <small>COLON</small>), and <li> The underscore character <tt>'_'</tt> (<tt>'\u005f'</tt>, <small>LOW LINE</small>).</ul>An encoding name must begin with either a letter or a digit. The empty stringis not a legal encoding name.<p> An encoding may have more than one name. One of an encoding's names isconsidered to be its <i>canonical name</i>. The canonical name of an encodingis the name returned by the <tt>getEncoding</tt> methods of the <A HREF="../../java/io/InputStreamReader.html#getEncoding()"><CODE>InputStreamReader</CODE></A> and <A HREF="../../java/io/OutputStreamWriter.html#getEncoding()"><CODE>OutputStreamWriter</CODE></A> classes.<p> Encoding names generally follow the conventions documented in <ahref="http://ietf.org/rfc/rfc2278.txt"><i>RFC2278: IANA CharsetRegistration Procedures</i></a>. If an encoding listed in the <ahref="ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets">IANA CharsetRegistry</a> is supported by an implementation of the Java platform then one ofits names must be the name listed in the registry. Many encodings are givenmore than one name in the registry, in which case the registry identifies oneof the names as <i>MIME-preferred</i>. An implementation of the Java platformmust support the MIME-preferred registry name for a supported encoding if thereis one; for convenience it may additionally support other registry names. TheIANA MIME-preferred name of an encoding, if there is one, is often, but notnecessarily, its canonical name. Following IANA convention, the mapping fromIANA registry names to encodings is not case-sensitive.<p> Every implementation of the Java platform is required to support thefollowing character encodings. Consult the release documentation for yourimplementation to see if any other encodings are supported.<blockquote><table width="80%"><tr><td valign=top><tt>US-ASCII</tt></td> <td>Seven-bit ASCII, a.k.a. <tt>ISO646-US</tt>, a.k.a. the Basic Latin block of the Unicode character set</td></tr><tr><td valign=top><tt>ISO-8859-1 </tt></td> <td>ISO Latin Alphabet No. 1, a.k.a. <tt>ISO-LATIN-1</tt></td></tr><tr><td valign=top><tt>UTF-8</tt></td> <td>Eight-bit Unicode Transformation Format</td></tr><tr><td valign=top><tt>UTF-16BE</tt></td> <td>Sixteen-bit Unicode Transformation Format, big-endian byte order</td></tr><tr><td valign=top><tt>UTF-16LE</tt></td> <td>Sixteen-bit Unicode Transformation Format, little-endian byte order</td></tr><tr><td valign=top><tt>UTF-16</tt></td> <td>Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either order accepted on input, big-endian used on output)</td></tr></table></blockquote>The various Unicode Transformation Formats are described in detail in <ahref="http://www.unicode.org/unicode/standard/standard.html"><i>The UnicodeStandard</i></a> and in the <ahref="http://www.unicode.org/unicode/faq"><i>Unicode FAQ</i></a>.<p> Every instance of the Java virtual machine has a default characterencoding. The default encoding is determined during virtual-machine startupand typically depends upon the locale and encoding being used by the underlyingoperating system.<!--<ul> <li><a href="">##### REFER TO ANY FRAMEMAKER SPECIFICATION HERE #####</a></ul><h2>Related Documentation</h2>For overviews, tutorials, examples, guides, and tool documentation, please see:<ul> <li><a href="">##### REFER TO NON-SPEC DOCUMENTATION HERE #####</a></ul>--><P><DL><DT><B>Since: </B><DD>JDK1.0</DD></DL><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../java/io/package-summary.html"><B>PREV PACKAGE</B></A> <A HREF="../../java/lang/ref/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="package-summary.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -