illegalargumentexception.html

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

HTML
863
字号
<CODE>&nbsp;<A HREF="../ref/Reference.html" title="java.lang.ref 中的类">Reference</A>&lt;? extends <A HREF="../ref/ReferenceQueue.html" title="ReferenceQueue 中的类型参数">T</A>&gt;</CODE></FONT></TD><TD><CODE><B>ReferenceQueue.</B><B><A HREF="../ref/ReferenceQueue.html#remove(long)">remove</A></B>(long&nbsp;timeout)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;移除此队列中的下一个引用对象,阻塞到有一个对象变得可用或者给定的超时期满了为止。</TD></TR></TABLE>&nbsp;<P><A NAME="java.lang.reflect"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><A HREF="../reflect/package-summary.html">java.lang.reflect</A> 中 <A HREF="../IllegalArgumentException.html" title="java.lang 中的类">IllegalArgumentException</A> 的使用</FONT></TH></TR></TABLE>&nbsp;<P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TH ALIGN="left" COLSPAN="2">抛出 <A HREF="../IllegalArgumentException.html" title="java.lang 中的类">IllegalArgumentException</A> 的 <A HREF="../reflect/package-summary.html">java.lang.reflect</A> 中的方法</FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../Object.html" title="java.lang 中的类">Object</A></CODE></FONT></TD><TD><CODE><B>Field.</B><B><A HREF="../reflect/Field.html#get(java.lang.Object)">get</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;返回指定对象上此 <code>Field</code> 表示的字段的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../Object.html" title="java.lang 中的类">Object</A></CODE></FONT></TD><TD><CODE><B>Array.</B><B><A HREF="../reflect/Array.html#get(java.lang.Object, int)">get</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;array,    int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;返回指定数组对象中索引组件的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>Field.</B><B><A HREF="../reflect/Field.html#getBoolean(java.lang.Object)">getBoolean</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;获得一个静态或实例 <code>boolean</code> 字段的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>Array.</B><B><A HREF="../reflect/Array.html#getBoolean(java.lang.Object, int)">getBoolean</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;array,           int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;以 <code>boolean</code> 形式返回指定数组对象中索引组件的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;byte</CODE></FONT></TD><TD><CODE><B>Field.</B><B><A HREF="../reflect/Field.html#getByte(java.lang.Object)">getByte</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;获得一个静态或实例 <code>byte</code> 字段的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;byte</CODE></FONT></TD><TD><CODE><B>Array.</B><B><A HREF="../reflect/Array.html#getByte(java.lang.Object, int)">getByte</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;array,        int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;以 <code>byte</code> 形式返回指定数组对象中索引组件的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;char</CODE></FONT></TD><TD><CODE><B>Field.</B><B><A HREF="../reflect/Field.html#getChar(java.lang.Object)">getChar</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;获得 <code>char</code> 类型或另一个通过扩展转换可以转换为 <code>char</code> 类型的基本类型的静态或实例字段的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;char</CODE></FONT></TD><TD><CODE><B>Array.</B><B><A HREF="../reflect/Array.html#getChar(java.lang.Object, int)">getChar</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;array,        int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;以 <code>char</code> 形式返回指定数组对象中索引组件的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;double</CODE></FONT></TD><TD><CODE><B>Field.</B><B><A HREF="../reflect/Field.html#getDouble(java.lang.Object)">getDouble</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;获得 <code>double</code> 类型或另一个通过扩展转换可以转换为 <code>double</code> 类型的基本类型的静态或实例字段的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;double</CODE></FONT></TD><TD><CODE><B>Array.</B><B><A HREF="../reflect/Array.html#getDouble(java.lang.Object, int)">getDouble</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;array,          int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;以 <code>double</code> 形式返回指定数组对象中索引组件的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;float</CODE></FONT></TD><TD><CODE><B>Field.</B><B><A HREF="../reflect/Field.html#getFloat(java.lang.Object)">getFloat</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;获得 <code>float</code> 类型或另一个通过扩展转换可以转换为 <code>float</code> 类型的基本类型的静态或实例字段的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;float</CODE></FONT></TD><TD><CODE><B>Array.</B><B><A HREF="../reflect/Array.html#getFloat(java.lang.Object, int)">getFloat</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;array,         int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;以 <code>float</code> 形式返回指定数组对象中索引组件的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B>Field.</B><B><A HREF="../reflect/Field.html#getInt(java.lang.Object)">getInt</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;获得 <code>int</code> 类型或另一个通过扩展转换可以转换为 <code>int</code> 类型的基本类型的静态或实例字段的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;int</CODE></FONT></TD><TD><CODE><B>Array.</B><B><A HREF="../reflect/Array.html#getInt(java.lang.Object, int)">getInt</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;array,       int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;以 <code>int</code> 形式返回指定数组对象中索引组件的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../reflect/InvocationHandler.html" title="java.lang.reflect 中的接口">InvocationHandler</A></CODE></FONT></TD><TD><CODE><B>Proxy.</B><B><A HREF="../reflect/Proxy.html#getInvocationHandler(java.lang.Object)">getInvocationHandler</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;proxy)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;返回指定代理实例的调用处理程序。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;int</CODE></FONT></TD><TD><CODE><B>Array.</B><B><A HREF="../reflect/Array.html#getLength(java.lang.Object)">getLength</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;array)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;以 <code>int</code> 形式返回指定数组对象的长度。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B>Field.</B><B><A HREF="../reflect/Field.html#getLong(java.lang.Object)">getLong</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;获得 <code>long</code> 类型或另一个通过扩展转换可以转换为 <code>long</code> 类型的基本类型的静态或实例字段的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;long</CODE></FONT></TD><TD><CODE><B>Array.</B><B><A HREF="../reflect/Array.html#getLong(java.lang.Object, int)">getLong</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;array,        int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;以 <code>long</code> 形式返回指定数组对象中索引组件的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../Class.html" title="java.lang 中的类">Class</A>&lt;?&gt;</CODE></FONT></TD><TD><CODE><B>Proxy.</B><B><A HREF="../reflect/Proxy.html#getProxyClass(java.lang.ClassLoader, java.lang.Class...)">getProxyClass</A></B>(<A HREF="../ClassLoader.html" title="java.lang 中的类">ClassLoader</A>&nbsp;loader,              <A HREF="../Class.html" title="java.lang 中的类">Class</A>&lt;?&gt;...&nbsp;interfaces)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;返回代理类的 <code>java.lang.Class</code> 对象,并向其提供类加载器和接口数组。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;short</CODE></FONT></TD><TD><CODE><B>Field.</B><B><A HREF="../reflect/Field.html#getShort(java.lang.Object)">getShort</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;获得 <code>short</code> 类型或另一个通过扩展转换可以转换为 <code>short</code> 类型的基本类型的静态或实例字段的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;short</CODE></FONT></TD><TD><CODE><B>Array.</B><B><A HREF="../reflect/Array.html#getShort(java.lang.Object, int)">getShort</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;array,         int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;以 <code>short</code> 形式返回指定数组对象中索引组件的值。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../Object.html" title="java.lang 中的类">Object</A></CODE></FONT></TD><TD><CODE><B>Method.</B><B><A HREF="../reflect/Method.html#invoke(java.lang.Object, java.lang.Object...)">invoke</A></B>(<A HREF="../Object.html" title="java.lang 中的类">Object</A>&nbsp;obj,       <A HREF="../Object.html" title="java.lang 中的类">Object</A>...&nbsp;args)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;对带有指定参数的指定对象调用由此 <code>Method</code> 对象表示的基础方法。</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../Object.html" title="java.lang 中的类">Object</A></CODE></FONT></TD><TD><CODE><B>Array.</B><B><A HREF="../reflect/Array.html#newInstance(java.lang.Class, int[])">newInstance</A></B>(<A HREF="../Class.html" title="java.lang 中的类">Class</A>&lt;?&gt;&nbsp;componentType,            int[]&nbsp;dimensions)</CODE>

⌨️ 快捷键说明

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