package-summary.html

来自「j2se5-api-zh,java文档的中文版本」· HTML 代码 · 共 631 行 · 第 1/3 页

HTML
631
字号
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ProcessBuilder.html" title="java.lang 中的类">ProcessBuilder</A></B></TD><TD>此类用于创建操作系统进程。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="Runtime.html" title="java.lang 中的类">Runtime</A></B></TD><TD>每个 Java 应用程序都有一个 <code>Runtime</code> 类实例,使应用程序能够与其运行的环境相连接。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="RuntimePermission.html" title="java.lang 中的类">RuntimePermission</A></B></TD><TD>该类用于运行时权限。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="SecurityManager.html" title="java.lang 中的类">SecurityManager</A></B></TD><TD>安全管理器是一个允许应用程序实现安全策略的类。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="Short.html" title="java.lang 中的类">Short</A></B></TD><TD><code>Short</code> 类在对象中包装基本类型 <code>short</code> 的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="StackTraceElement.html" title="java.lang 中的类">StackTraceElement</A></B></TD><TD>堆栈跟踪中的元素,它由 <A HREF="Throwable.html#getStackTrace()"><CODE>Throwable.getStackTrace()</CODE></A> 返回。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="StrictMath.html" title="java.lang 中的类">StrictMath</A></B></TD><TD>类 <code>StrictMath</code> 包含了用于执行基本数字运算的方法,如基本指数、对数、平方根和三角函数。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="String.html" title="java.lang 中的类">String</A></B></TD><TD><code>String</code> 类代表字符串。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="StringBuffer.html" title="java.lang 中的类">StringBuffer</A></B></TD><TD>线程安全的可变字符序列。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="StringBuilder.html" title="java.lang 中的类">StringBuilder</A></B></TD><TD>一个可变的字符序列。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="System.html" title="java.lang 中的类">System</A></B></TD><TD><code>System</code> 类包含一些有用的类字段和方法。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="Thread.html" title="java.lang 中的类">Thread</A></B></TD><TD><i>线程</i> 是程序中的执行线程。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ThreadGroup.html" title="java.lang 中的类">ThreadGroup</A></B></TD><TD>线程组表示一个线程的集合。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ThreadLocal.html" title="java.lang 中的类">ThreadLocal&lt;T&gt;</A></B></TD><TD>该类提供了线程局部变量。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="Throwable.html" title="java.lang 中的类">Throwable</A></B></TD><TD><code>Throwable</code> 类是 Java 语言中所有错误或异常的超类。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="Void.html" title="java.lang 中的类">Void</A></B></TD><TD>Void 类是一个不可实例化的占位符类,它保存一个对代表 Java 关键字 void 的 Class 对象的引用。</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>枚举摘要</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="Thread.State.html" title="java.lang 中的枚举">Thread.State</A></B></TD><TD>线程状态。</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>异常摘要</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ArithmeticException.html" title="java.lang 中的类">ArithmeticException</A></B></TD><TD>当出现异常的运算条件时,抛出此异常。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ArrayIndexOutOfBoundsException.html" title="java.lang 中的类">ArrayIndexOutOfBoundsException</A></B></TD><TD>用非法索引访问数组时抛出的异常。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ArrayStoreException.html" title="java.lang 中的类">ArrayStoreException</A></B></TD><TD>试图将错误类型的对象存储到一个对象数组时抛出的异常。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ClassCastException.html" title="java.lang 中的类">ClassCastException</A></B></TD><TD>当试图将对象强制转换为不是实例的子类时,抛出该异常。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ClassNotFoundException.html" title="java.lang 中的类">ClassNotFoundException</A></B></TD><TD>当应用程序试图使用以下方法通过字符串名加载类时,抛出该异常:<code>Class</code> 类中的 <code>forName</code> 方法。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="CloneNotSupportedException.html" title="java.lang 中的类">CloneNotSupportedException</A></B></TD><TD>当调用 <code>Object</code> 类中的 <code>clone</code> 方法克隆对象,但该对象的类无法实现 <code>Cloneable</code> 接口时,抛出该异常。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="EnumConstantNotPresentException.html" title="java.lang 中的类">EnumConstantNotPresentException</A></B></TD><TD>当应用程序试图通过名称和枚举类型访问那些不包含具有指定名称的常量的枚举常量时,抛出该异常。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="Exception.html" title="java.lang 中的类">Exception</A></B></TD><TD><code>Exception</code> 类及其子类是 <code>Throwable</code> 的一种形式,它指出了合理的应用程序想要捕获的条件。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="IllegalAccessException.html" title="java.lang 中的类">IllegalAccessException</A></B></TD><TD>当应用程序试图创建一个实例(而不是数组)、设置或获取一个字段,或者调用一个方法,但当前正在执行的方法无法访问指定类、字段、方法或构造方法的定义时,抛出 IllegalAccessException。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="IllegalArgumentException.html" title="java.lang 中的类">IllegalArgumentException</A></B></TD><TD>抛出的异常表明向方法传递了一个不合法或不正确的参数。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="IllegalMonitorStateException.html" title="java.lang 中的类">IllegalMonitorStateException</A></B></TD><TD>抛出的异常表明某一线程已经试图等待对象的监视器,或者试图通知其他正在等待对象的监视器而本身没有指定监视器的线程。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="IllegalStateException.html" title="java.lang 中的类">IllegalStateException</A></B></TD><TD>在非法或不适当的时间调用方法时产生的信号。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="IllegalThreadStateException.html" title="java.lang 中的类">IllegalThreadStateException</A></B></TD><TD>指示线程没有处于请求操作所要求的适当状态时抛出的异常。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="IndexOutOfBoundsException.html" title="java.lang 中的类">IndexOutOfBoundsException</A></B></TD><TD>指示某排序索引(例如对数组、字符串或向量的排序)超出范围时抛出。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="InstantiationException.html" title="java.lang 中的类">InstantiationException</A></B></TD><TD>当应用程序试图使用 <code>Class</code> 类中的 <code>newInstance</code> 方法创建一个类的实例,而指定的类对象因为是一个接口或是一个抽象类而无法实例化时,抛出该异常。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="InterruptedException.html" title="java.lang 中的类">InterruptedException</A></B></TD><TD>当线程在很长一段时间内一直处于正在等待、休眠或暂停状态,而另一个线程用 <code>Thread</code> 类中的 <code>iterrupt</code> 方法中断它时,抛出该异常。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="NegativeArraySizeException.html" title="java.lang 中的类">NegativeArraySizeException</A></B></TD><TD>如果应用程序试图创建大小为负的数组,则抛出该异常。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="NoSuchFieldException.html" title="java.lang 中的类">NoSuchFieldException</A></B></TD><TD>类不包含指定名称的字段时产生的信号。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="NoSuchMethodException.html" title="java.lang 中的类">NoSuchMethodException</A></B></TD><TD>无法找到某一特定方法时,抛出该异常。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="NullPointerException.html" title="java.lang 中的类">NullPointerException</A></B></TD><TD>当应用程序试图在需要对象的地方使用 <code>null</code> 时,抛出该异常。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="NumberFormatException.html" title="java.lang 中的类">NumberFormatException</A></B></TD><TD>当应用程序试图将字符串转换成一种数值类型,但该字符串不能转换为适当格式时,抛出该异常。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="RuntimeException.html" title="java.lang 中的类">RuntimeException</A></B></TD><TD><code>RuntimeException</code> 是那些可能在 Java 虚拟机正常运行期间抛出的异常的超类。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="SecurityException.html" title="java.lang 中的类">SecurityException</A></B></TD><TD>由安全管理器抛出的异常,指示存在安全侵犯。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="StringIndexOutOfBoundsException.html" title="java.lang 中的类">StringIndexOutOfBoundsException</A></B></TD><TD>此异常由 <code>String</code> 方法抛出,指示索引或者为负,或者超出字符串的大小。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="TypeNotPresentException.html" title="java.lang 中的类">TypeNotPresentException</A></B></TD><TD>当应用程序试图使用表示类型名称的字符串对类型进行访问,但无法找到带有指定名称的类型定义时,抛出该异常。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="UnsupportedOperationException.html" title="java.lang 中的类">UnsupportedOperationException</A></B></TD><TD>当不支持请求的操作时,抛出该异常。</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>错误摘要</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AbstractMethodError.html" title="java.lang 中的类">AbstractMethodError</A></B></TD><TD>当应用程序试图调用一个抽象方法时,抛出此错误。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AssertionError.html" title="java.lang 中的类">AssertionError</A></B></TD>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?