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

📄 stringbuffer.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>StringBuffer.</B><B><A HREF="../../../java/lang/StringBuffer.html#insert(int, char[], int, int)">insert</A></B>(int&nbsp;index,       char[]&nbsp;str,       int&nbsp;offset,       int&nbsp;len)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of a subarray of the <code>str</code> array argument into this string buffer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>StringBuffer.</B><B><A HREF="../../../java/lang/StringBuffer.html#insert(int, java.lang.Object)">insert</A></B>(int&nbsp;offset,       <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the <code>Object</code>  argument into this string buffer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>StringBuffer.</B><B><A HREF="../../../java/lang/StringBuffer.html#insert(int, java.lang.String)">insert</A></B>(int&nbsp;offset,       <A HREF="../../../java/lang/String.html">String</A>&nbsp;str)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string into this string buffer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>StringBuffer.</B><B><A HREF="../../../java/lang/StringBuffer.html#insert(int, char[])">insert</A></B>(int&nbsp;offset,       char[]&nbsp;str)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the <code>char</code> array  argument into this string buffer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>StringBuffer.</B><B><A HREF="../../../java/lang/StringBuffer.html#insert(int, boolean)">insert</A></B>(int&nbsp;offset,       boolean&nbsp;b)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the <code>boolean</code>  argument into this string buffer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>StringBuffer.</B><B><A HREF="../../../java/lang/StringBuffer.html#insert(int, char)">insert</A></B>(int&nbsp;offset,       char&nbsp;c)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the <code>char</code>  argument into this string buffer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>StringBuffer.</B><B><A HREF="../../../java/lang/StringBuffer.html#insert(int, int)">insert</A></B>(int&nbsp;offset,       int&nbsp;i)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the second <code>int</code>  argument into this string buffer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>StringBuffer.</B><B><A HREF="../../../java/lang/StringBuffer.html#insert(int, long)">insert</A></B>(int&nbsp;offset,       long&nbsp;l)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the <code>long</code>  argument into this string buffer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>StringBuffer.</B><B><A HREF="../../../java/lang/StringBuffer.html#insert(int, float)">insert</A></B>(int&nbsp;offset,       float&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the <code>float</code>  argument into this string buffer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>StringBuffer.</B><B><A HREF="../../../java/lang/StringBuffer.html#insert(int, double)">insert</A></B>(int&nbsp;offset,       double&nbsp;d)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the <code>double</code>  argument into this string buffer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>StringBuffer.</B><B><A HREF="../../../java/lang/StringBuffer.html#reverse()">reverse</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The character sequence contained in this string buffer is  replaced by the reverse of the sequence.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../java/lang/package-summary.html">java.lang</A> with parameters of type <A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/lang/String.html#String(java.lang.StringBuffer)">String</A></B>(<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A>&nbsp;buffer)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allocates a new string that contains the sequence of characters  currently contained in the string buffer argument.</TD></TR></TABLE>&nbsp;<P><A NAME="java.text"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A> in <A HREF="../../../java/text/package-summary.html">java.text</A></FONT></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/text/package-summary.html">java.text</A> that return <A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>Format.</B><B><A HREF="../../../java/text/Format.html#format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition)">format</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;obj,       <A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A>&nbsp;toAppendTo,       <A HREF="../../../java/text/FieldPosition.html">FieldPosition</A>&nbsp;pos)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Formats an object to produce a string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>NumberFormat.</B><B><A HREF="../../../java/text/NumberFormat.html#format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition)">format</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;number,       <A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A>&nbsp;toAppendTo,       <A HREF="../../../java/text/FieldPosition.html">FieldPosition</A>&nbsp;pos)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Formats an object to produce a string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>NumberFormat.</B><B><A HREF="../../../java/text/NumberFormat.html#format(double, java.lang.StringBuffer, java.text.FieldPosition)">format</A></B>(double&nbsp;number,       <A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A>&nbsp;toAppendTo,       <A HREF="../../../java/text/FieldPosition.html">FieldPosition</A>&nbsp;pos)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specialization of format.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>NumberFormat.</B><B><A HREF="../../../java/text/NumberFormat.html#format(long, java.lang.StringBuffer, java.text.FieldPosition)">format</A></B>(long&nbsp;number,       <A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A>&nbsp;toAppendTo,       <A HREF="../../../java/text/FieldPosition.html">FieldPosition</A>&nbsp;pos)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specialization of format.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>ChoiceFormat.</B><B><A HREF="../../../java/text/ChoiceFormat.html#format(long, java.lang.StringBuffer, java.text.FieldPosition)">format</A></B>(long&nbsp;number,       <A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A>&nbsp;toAppendTo,       <A HREF="../../../java/text/FieldPosition.html">FieldPosition</A>&nbsp;status)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specialization of format.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>ChoiceFormat.</B><B><A HREF="../../../java/text/ChoiceFormat.html#format(double, java.lang.StringBuffer, java.text.FieldPosition)">format</A></B>(double&nbsp;number,       <A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A>&nbsp;toAppendTo,       <A HREF="../../../java/text/FieldPosition.html">FieldPosition</A>&nbsp;status)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns pattern with formatted double.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>DateFormat.</B><B><A HREF="../../../java/text/DateFormat.html#format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition)">format</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;obj,       <A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A>&nbsp;toAppendTo,       <A HREF="../../../java/text/FieldPosition.html">FieldPosition</A>&nbsp;fieldPosition)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Overrides Format.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>DateFormat.</B><B><A HREF="../../../java/text/DateFormat.html#format(java.util.Date, java.lang.StringBuffer, java.text.FieldPosition)">format</A></B>(<A HREF="../../../java/util/Date.html">Date</A>&nbsp;date,       <A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A>&nbsp;toAppendTo,       <A HREF="../../../java/text/FieldPosition.html">FieldPosition</A>&nbsp;fieldPosition)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Formats a Date into a date/time string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>SimpleDateFormat.</B><B><A HREF="../../../java/text/SimpleDateFormat.html#format(java.util.Date, java.lang.StringBuffer, java.text.FieldPosition)">format</A></B>(<A HREF="../../../java/util/Date.html">Date</A>&nbsp;date,       <A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A>&nbsp;toAppendTo,       <A HREF="../../../java/text/FieldPosition.html">FieldPosition</A>&nbsp;pos)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Overrides DateFormat </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A></CODE></FONT></TD><TD><CODE><B>DecimalFormat.</B><B><A HREF="../../../java/text/DecimalFormat.html#format(double, java.lang.StringBuffer, java.text.FieldPosition)">format</A></B>(double&nbsp;number,       <A HREF="../../../java/lang/StringBuffer.html">StringBuffer</A>&nbsp;result,       <A HREF="../../../java/text/FieldPosition.html">FieldPosition</A>&nbsp;fieldPosition)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Formats a double to produce a string.</TD>

⌨️ 快捷键说明

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