⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 array.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 4 页
字号:
 argument is negative, or if it is greater than or equal to the length of the specified array<DT><B>See Also: </B><DD><A HREF="../../../java/lang/reflect/Array.html#set(java.lang.Object, int, java.lang.Object)"><CODE>set(java.lang.Object, int, java.lang.Object)</CODE></A></DL></DD></DL><HR><A NAME="setByte(java.lang.Object, int, byte)"><!-- --></A><H3>setByte</H3><PRE>public static void <B>setByte</B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;array,                           int&nbsp;index,                           byte&nbsp;b)                    throws <A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A>,                           <A HREF="../../../java/lang/ArrayIndexOutOfBoundsException.html">ArrayIndexOutOfBoundsException</A></PRE><DL><DD>Sets the value of the indexed component of the specified array object to the specified <code>boolean</code> value.<DD><DL><DT><B>Parameters:</B><DD><CODE>array</CODE> - the array<DD><CODE>index</CODE> - the index into the array<DD><CODE>value</CODE> - the new value of the indexed component<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/lang/NullPointerException.html">NullPointerException</A></CODE> - If the specified object argument is null<DD><CODE><A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the specified object argument is not an array, or if the the specified value cannot be converted to the underlying array's component type by an identity or a primitive widening widening conversion<DD><CODE><A HREF="../../../java/lang/ArrayIndexOutOfBoundsException.html">ArrayIndexOutOfBoundsException</A></CODE> - If the specified <code>index</code>  argument is negative, or if it is greater than or equal to the length of the specified array<DT><B>See Also: </B><DD><A HREF="../../../java/lang/reflect/Array.html#set(java.lang.Object, int, java.lang.Object)"><CODE>set(java.lang.Object, int, java.lang.Object)</CODE></A></DL></DD></DL><HR><A NAME="setChar(java.lang.Object, int, char)"><!-- --></A><H3>setChar</H3><PRE>public static void <B>setChar</B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;array,                           int&nbsp;index,                           char&nbsp;c)                    throws <A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A>,                           <A HREF="../../../java/lang/ArrayIndexOutOfBoundsException.html">ArrayIndexOutOfBoundsException</A></PRE><DL><DD>Sets the value of the indexed component of the specified array object to the specified <code>byte</code> value.<DD><DL><DT><B>Parameters:</B><DD><CODE>array</CODE> - the array<DD><CODE>index</CODE> - the index into the array<DD><CODE>value</CODE> - the new value of the indexed component<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/lang/NullPointerException.html">NullPointerException</A></CODE> - If the specified object argument is null<DD><CODE><A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the specified object argument is not an array, or if the the specified value cannot be converted to the underlying array's component type by an identity or a primitive widening widening conversion<DD><CODE><A HREF="../../../java/lang/ArrayIndexOutOfBoundsException.html">ArrayIndexOutOfBoundsException</A></CODE> - If the specified <code>index</code>  argument is negative, or if it is greater than or equal to the length of the specified array<DT><B>See Also: </B><DD><A HREF="../../../java/lang/reflect/Array.html#set(java.lang.Object, int, java.lang.Object)"><CODE>set(java.lang.Object, int, java.lang.Object)</CODE></A></DL></DD></DL><HR><A NAME="setShort(java.lang.Object, int, short)"><!-- --></A><H3>setShort</H3><PRE>public static void <B>setShort</B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;array,                            int&nbsp;index,                            short&nbsp;s)                     throws <A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A>,                            <A HREF="../../../java/lang/ArrayIndexOutOfBoundsException.html">ArrayIndexOutOfBoundsException</A></PRE><DL><DD>Sets the value of the indexed component of the specified array object to the specified <code>short</code> value.<DD><DL><DT><B>Parameters:</B><DD><CODE>array</CODE> - the array<DD><CODE>index</CODE> - the index into the array<DD><CODE>value</CODE> - the new value of the indexed component<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/lang/NullPointerException.html">NullPointerException</A></CODE> - If the specified object argument is null<DD><CODE><A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the specified object argument is not an array, or if the the specified value cannot be converted to the underlying array's component type by an identity or a primitive widening widening conversion<DD><CODE><A HREF="../../../java/lang/ArrayIndexOutOfBoundsException.html">ArrayIndexOutOfBoundsException</A></CODE> - If the specified <code>index</code>  argument is negative, or if it is greater than or equal to the length of the specified array<DT><B>See Also: </B><DD><A HREF="../../../java/lang/reflect/Array.html#set(java.lang.Object, int, java.lang.Object)"><CODE>set(java.lang.Object, int, java.lang.Object)</CODE></A></DL></DD></DL><HR><A NAME="setInt(java.lang.Object, int, int)"><!-- --></A><H3>setInt</H3><PRE>public static void <B>setInt</B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;array,                          int&nbsp;index,                          int&nbsp;i)                   throws <A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A>,                          <A HREF="../../../java/lang/ArrayIndexOutOfBoundsException.html">ArrayIndexOutOfBoundsException</A></PRE><DL><DD>Sets the value of the indexed component of the specified array object to the specified <code>int</code> value.<DD><DL><DT><B>Parameters:</B><DD><CODE>array</CODE> - the array<DD><CODE>index</CODE> - the index into the array<DD><CODE>value</CODE> - the new value of the indexed component<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/lang/NullPointerException.html">NullPointerException</A></CODE> - If the specified object argument is null<DD><CODE><A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the specified object argument is not an array, or if the the specified value cannot be converted to the underlying array's component type by an identity or a primitive widening widening conversion<DD><CODE><A HREF="../../../java/lang/ArrayIndexOutOfBoundsException.html">ArrayIndexOutOfBoundsException</A></CODE> - If the specified <code>index</code>  argument is negative, or if it is greater than or equal to the length of the specified array<DT><B>See Also: </B><DD><A HREF="../../../java/lang/reflect/Array.html#set(java.lang.Object, int, java.lang.Object)"><CODE>set(java.lang.Object, int, java.lang.Object)</CODE></A></DL></DD></DL><HR><A NAME="setLong(java.lang.Object, int, long)"><!-- --></A><H3>setLong</H3><PRE>public static void <B>setLong</B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;array,                           int&nbsp;index,                           long&nbsp;l)                    throws <A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A>,                           <A HREF="../../../java/lang/ArrayIndexOutOfBoundsException.html">ArrayIndexOutOfBoundsException</A></PRE><DL><DD>Sets the value of the indexed component of the specified array object to the specified <code>long</code> value.<DD><DL><DT><B>Parameters:</B><DD><CODE>array</CODE> - the array<DD><CODE>index</CODE> - the index into the array<DD><CODE>value</CODE> - the new value of the indexed component<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/lang/NullPointerException.html">NullPointerException</A></CODE> - If the specified object argument is null<DD><CODE><A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the specified object argument is not an array, or if the the specified value cannot be converted to the underlying array's component type by an identity or a primitive widening widening conversion<DD><CODE><A HREF="../../../java/lang/ArrayIndexOutOfBoundsException.html">ArrayIndexOutOfBoundsException</A></CODE> - If the specified <code>index</code>  argument is negative, or if it is greater than or equal to the length of the specified array<DT><B>See Also: </B><DD><A HREF="../../../java/lang/reflect/Array.html#set(java.lang.Object, int, java.lang.Object)"><CODE>set(java.lang.Object, int, java.lang.Object)</CODE></A></DL></DD></DL><HR><A NAME="setFloat(java.lang.Object, int, float)"><!-- --></A><H3>setFloat</H3><PRE>public static void <B>setFloat</B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;array,                            int&nbsp;index,                            float&nbsp;f)                     throws <A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A>,                            <A HREF="../../../java/lang/ArrayIndexOutOfBoundsException.html">ArrayIndexOutOfBoundsException</A></PRE><DL><DD>Sets the value of the indexed component of the specified array object to the specified <code>float</code> value.<DD><DL><DT><B>Parameters:</B><DD><CODE>array</CODE> - the array<DD><CODE>index</CODE> - the index into the array<DD><CODE>value</CODE> - the new value of the indexed component<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/lang/NullPointerException.html">NullPointerException</A></CODE> - If the specified object argument is null<DD><CODE><A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the specified object argument is not an array, or if the the specified value cannot be converted to the underlying array's component type by an identity or a primitive widening widening conversion<DD><CODE><A HREF="../../../java/lang/ArrayIndexOutOfBoundsException.html">ArrayIndexOutOfBoundsException</A></CODE> - If the specified <code>index</code>  argument is negative, or if it is greater than or equal to the length of the specified array<DT><B>See Also: </B><DD><A HREF="../../../java/lang/reflect/Array.html#set(java.lang.Object, int, java.lang.Object)"><CODE>set(java.lang.Object, int, java.lang.Object)</CODE></A></DL></DD></DL><HR><A NAME="setDouble(java.lang.Object, int, double)"><!-- --></A><H3>setDouble</H3><PRE>public static void <B>setDouble</B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;array,                             int&nbsp;index,                             double&nbsp;d)                      throws <A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A>,                             <A HREF="../../../java/lang/ArrayIndexOutOfBoundsException.html">ArrayIndexOutOfBoundsException</A></PRE><DL><DD>Sets the value of the indexed component of the specified array object to the specified <code>double</code> value.<DD><DL><DT><B>Parameters:</B><DD><CODE>array</CODE> - the array<DD><CODE>index</CODE> - the index into the array<DD><CODE>value</CODE> - the new value of the indexed component<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/lang/NullPointerException.html">NullPointerException</A></CODE> - If the specified object argument is null<DD><CODE><A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the specified object argument is not an array, or if the the specified value cannot be converted to the underlying array's component type by an identity or a primitive widening widening conversion<DD><CODE><A HREF="../../../java/lang/ArrayIndexOutOfBoundsException.html">ArrayIndexOutOfBoundsException</A></CODE> - If the specified <code>index</code>  argument is negative, or if it is greater than or equal to the length of the specified array<DT><B>See Also: </B><DD><A HREF="../../../java/lang/reflect/Array.html#set(java.lang.Object, int, java.lang.Object)"><CODE>set(java.lang.Object, int, java.lang.Object)</CODE></A></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Array.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../java/lang/reflect/AccessibleObject.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../java/lang/reflect/Constructor.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Array.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</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 + -