Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 356 | chris | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 | <!--NewPage--> |
||
| 3 | <HTML> |
||
| 4 | <HEAD> |
||
| 5 | <!-- Generated by javadoc (build 1.6.0_26) on Sun Jan 27 20:37:08 CET 2013 --> |
||
| 6 | <TITLE> |
||
| 7 | StringBuilder (libgdx API) |
||
| 8 | </TITLE> |
||
| 9 | |||
| 10 | <META NAME="date" CONTENT="2013-01-27"> |
||
| 11 | |||
| 12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
||
| 13 | |||
| 14 | <SCRIPT type="text/javascript"> |
||
| 15 | function windowTitle() |
||
| 16 | { |
||
| 17 | if (location.href.indexOf('is-external=true') == -1) { |
||
| 18 | parent.document.title="StringBuilder (libgdx API)"; |
||
| 19 | } |
||
| 20 | } |
||
| 21 | </SCRIPT> |
||
| 22 | <NOSCRIPT> |
||
| 23 | </NOSCRIPT> |
||
| 24 | |||
| 25 | </HEAD> |
||
| 26 | |||
| 27 | <BODY BGCOLOR="white" onload="windowTitle();"> |
||
| 28 | <HR> |
||
| 29 | |||
| 30 | |||
| 31 | <!-- ========= START OF TOP NAVBAR ======= --> |
||
| 32 | <A NAME="navbar_top"><!-- --></A> |
||
| 33 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
||
| 34 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
| 35 | <TR> |
||
| 36 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
| 37 | <A NAME="navbar_top_firstrow"><!-- --></A> |
||
| 38 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
| 39 | <TR ALIGN="center" VALIGN="top"> |
||
| 40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
| 42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
| 43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StringBuilder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
| 44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
| 45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
| 46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
| 47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
| 48 | </TR> |
||
| 49 | </TABLE> |
||
| 50 | </TD> |
||
| 51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
| 52 | |||
| 53 | libgdx API |
||
| 54 | <style> |
||
| 55 | body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt } |
||
| 56 | pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif } |
||
| 57 | h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%; font-weight:bold } |
||
| 58 | .TableHeadingColor { background:#EEEEFF; } |
||
| 59 | a { text-decoration:none } |
||
| 60 | a:hover { text-decoration:underline } |
||
| 61 | a:link, a:visited { color:blue } |
||
| 62 | table { border:0px } |
||
| 63 | .TableRowColor td:first-child { border-left:1px solid black } |
||
| 64 | .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black } |
||
| 65 | hr { border:0px; border-bottom:1px solid #333366; } |
||
| 66 | </style> |
||
| 67 | </EM> |
||
| 68 | </TD> |
||
| 69 | </TR> |
||
| 70 | |||
| 71 | <TR> |
||
| 72 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 73 | <A HREF="../../../../com/badlogic/gdx/utils/SortedIntList.Node.html" title="class in com.badlogic.gdx.utils"><B>PREV CLASS</B></A> |
||
| 74 | <A HREF="../../../../com/badlogic/gdx/utils/Timer.html" title="class in com.badlogic.gdx.utils"><B>NEXT CLASS</B></A></FONT></TD> |
||
| 75 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 76 | <A HREF="../../../../index.html?com/badlogic/gdx/utils/StringBuilder.html" target="_top"><B>FRAMES</B></A> |
||
| 77 | <A HREF="StringBuilder.html" target="_top"><B>NO FRAMES</B></A> |
||
| 78 | <SCRIPT type="text/javascript"> |
||
| 79 | <!-- |
||
| 80 | if(window==top) { |
||
| 81 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
||
| 82 | } |
||
| 83 | //--> |
||
| 84 | </SCRIPT> |
||
| 85 | <NOSCRIPT> |
||
| 86 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
| 87 | </NOSCRIPT> |
||
| 88 | |||
| 89 | |||
| 90 | </FONT></TD> |
||
| 91 | </TR> |
||
| 92 | <TR> |
||
| 93 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 94 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
| 95 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 96 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
| 97 | </TR> |
||
| 98 | </TABLE> |
||
| 99 | <A NAME="skip-navbar_top"></A> |
||
| 100 | <!-- ========= END OF TOP NAVBAR ========= --> |
||
| 101 | |||
| 102 | <HR> |
||
| 103 | <!-- ======== START OF CLASS DATA ======== --> |
||
| 104 | <H2> |
||
| 105 | <FONT SIZE="-1"> |
||
| 106 | com.badlogic.gdx.utils</FONT> |
||
| 107 | <BR> |
||
| 108 | Class StringBuilder</H2> |
||
| 109 | <PRE> |
||
| 110 | java.lang.Object |
||
| 111 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.utils.StringBuilder</B> |
||
| 112 | </PRE> |
||
| 113 | <DL> |
||
| 114 | <DT><B>All Implemented Interfaces:</B> <DD>java.lang.Appendable, java.lang.CharSequence</DD> |
||
| 115 | </DL> |
||
| 116 | <HR> |
||
| 117 | <DL> |
||
| 118 | <DT><PRE>public class <B>StringBuilder</B><DT>extends java.lang.Object<DT>implements java.lang.Appendable, java.lang.CharSequence</DL> |
||
| 119 | </PRE> |
||
| 120 | |||
| 121 | <P> |
||
| 122 | A <CODE>StringBuilder</CODE> that implements equals and hashcode. |
||
| 123 | <P> |
||
| 124 | |||
| 125 | <P> |
||
| 126 | <DL> |
||
| 127 | <DT><B>See Also:</B><DD><CODE>CharSequence</CODE>, |
||
| 128 | <CODE>Appendable</CODE>, |
||
| 129 | <CODE>StringBuilder</CODE>, |
||
| 130 | <CODE>String</CODE></DL> |
||
| 131 | <HR> |
||
| 132 | |||
| 133 | <P> |
||
| 134 | <!-- =========== FIELD SUMMARY =========== --> |
||
| 135 | |||
| 136 | <A NAME="field_summary"><!-- --></A> |
||
| 137 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 138 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 139 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
| 140 | <B>Field Summary</B></FONT></TH> |
||
| 141 | </TR> |
||
| 142 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 143 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 144 | <CODE> char[]</CODE></FONT></TD> |
||
| 145 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#chars">chars</A></B></CODE> |
||
| 146 | |||
| 147 | <BR> |
||
| 148 | </TD> |
||
| 149 | </TR> |
||
| 150 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 151 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 152 | <CODE> int</CODE></FONT></TD> |
||
| 153 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#length">length</A></B></CODE> |
||
| 154 | |||
| 155 | <BR> |
||
| 156 | </TD> |
||
| 157 | </TR> |
||
| 158 | </TABLE> |
||
| 159 | |
||
| 160 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
||
| 161 | |||
| 162 | <A NAME="constructor_summary"><!-- --></A> |
||
| 163 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 164 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 165 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
| 166 | <B>Constructor Summary</B></FONT></TH> |
||
| 167 | </TR> |
||
| 168 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 169 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#StringBuilder()">StringBuilder</A></B>()</CODE> |
||
| 170 | |||
| 171 | <BR> |
||
| 172 | Constructs an instance with an initial capacity of <code>16</code>.</TD> |
||
| 173 | </TR> |
||
| 174 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 175 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#StringBuilder(java.lang.CharSequence)">StringBuilder</A></B>(java.lang.CharSequence seq)</CODE> |
||
| 176 | |||
| 177 | <BR> |
||
| 178 | Constructs an instance that's initialized with the contents of the specified <code>CharSequence</code>.</TD> |
||
| 179 | </TR> |
||
| 180 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 181 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#StringBuilder(int)">StringBuilder</A></B>(int capacity)</CODE> |
||
| 182 | |||
| 183 | <BR> |
||
| 184 | Constructs an instance with the specified capacity.</TD> |
||
| 185 | </TR> |
||
| 186 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 187 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#StringBuilder(java.lang.String)">StringBuilder</A></B>(java.lang.String string)</CODE> |
||
| 188 | |||
| 189 | <BR> |
||
| 190 | Constructs an instance that's initialized with the contents of the specified <code>String</code>.</TD> |
||
| 191 | </TR> |
||
| 192 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 193 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#StringBuilder(com.badlogic.gdx.utils.StringBuilder)">StringBuilder</A></B>(<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> builder)</CODE> |
||
| 194 | |||
| 195 | <BR> |
||
| 196 | </TD> |
||
| 197 | </TR> |
||
| 198 | </TABLE> |
||
| 199 | |
||
| 200 | <!-- ========== METHOD SUMMARY =========== --> |
||
| 201 | |||
| 202 | <A NAME="method_summary"><!-- --></A> |
||
| 203 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 204 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 205 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
| 206 | <B>Method Summary</B></FONT></TH> |
||
| 207 | </TR> |
||
| 208 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 209 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 210 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 211 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(boolean)">append</A></B>(boolean b)</CODE> |
||
| 212 | |||
| 213 | <BR> |
||
| 214 | Appends the string representation of the specified <code>boolean</code> value.</TD> |
||
| 215 | </TR> |
||
| 216 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 217 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 218 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 219 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(char)">append</A></B>(char c)</CODE> |
||
| 220 | |||
| 221 | <BR> |
||
| 222 | Appends the string representation of the specified <code>char</code> value.</TD> |
||
| 223 | </TR> |
||
| 224 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 225 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 226 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 227 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(char[])">append</A></B>(char[] ch)</CODE> |
||
| 228 | |||
| 229 | <BR> |
||
| 230 | Appends the string representation of the specified <code>char[]</code>.</TD> |
||
| 231 | </TR> |
||
| 232 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 233 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 234 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 235 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(char[], int, int)">append</A></B>(char[] str, |
||
| 236 | int offset, |
||
| 237 | int len)</CODE> |
||
| 238 | |||
| 239 | <BR> |
||
| 240 | Appends the string representation of the specified subset of the <code>char[]</code>.</TD> |
||
| 241 | </TR> |
||
| 242 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 243 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 244 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 245 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(java.lang.CharSequence)">append</A></B>(java.lang.CharSequence csq)</CODE> |
||
| 246 | |||
| 247 | <BR> |
||
| 248 | Appends the string representation of the specified <code>CharSequence</code>.</TD> |
||
| 249 | </TR> |
||
| 250 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 251 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 252 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 253 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(java.lang.CharSequence, int, int)">append</A></B>(java.lang.CharSequence csq, |
||
| 254 | int start, |
||
| 255 | int end)</CODE> |
||
| 256 | |||
| 257 | <BR> |
||
| 258 | Appends the string representation of the specified subsequence of the <code>CharSequence</code>.</TD> |
||
| 259 | </TR> |
||
| 260 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 261 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 262 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 263 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(double)">append</A></B>(double d)</CODE> |
||
| 264 | |||
| 265 | <BR> |
||
| 266 | Appends the string representation of the specified <code>double</code> value.</TD> |
||
| 267 | </TR> |
||
| 268 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 269 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 270 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 271 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(float)">append</A></B>(float f)</CODE> |
||
| 272 | |||
| 273 | <BR> |
||
| 274 | Appends the string representation of the specified <code>float</code> value.</TD> |
||
| 275 | </TR> |
||
| 276 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 277 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 278 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 279 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(int)">append</A></B>(int i)</CODE> |
||
| 280 | |||
| 281 | <BR> |
||
| 282 | Appends the string representation of the specified <code>int</code> value.</TD> |
||
| 283 | </TR> |
||
| 284 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 285 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 286 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 287 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(long)">append</A></B>(long lng)</CODE> |
||
| 288 | |||
| 289 | <BR> |
||
| 290 | Appends the string representation of the specified <code>long</code> value.</TD> |
||
| 291 | </TR> |
||
| 292 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 293 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 294 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 295 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(java.lang.Object)">append</A></B>(java.lang.Object obj)</CODE> |
||
| 296 | |||
| 297 | <BR> |
||
| 298 | Appends the string representation of the specified <code>Object</code>.</TD> |
||
| 299 | </TR> |
||
| 300 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 301 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 302 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 303 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(java.lang.String)">append</A></B>(java.lang.String str)</CODE> |
||
| 304 | |||
| 305 | <BR> |
||
| 306 | Appends the contents of the specified string.</TD> |
||
| 307 | </TR> |
||
| 308 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 309 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 310 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 311 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(com.badlogic.gdx.utils.StringBuilder)">append</A></B>(<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> builder)</CODE> |
||
| 312 | |||
| 313 | <BR> |
||
| 314 | </TD> |
||
| 315 | </TR> |
||
| 316 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 317 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 318 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 319 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(com.badlogic.gdx.utils.StringBuilder, int, int)">append</A></B>(<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> builder, |
||
| 320 | int start, |
||
| 321 | int end)</CODE> |
||
| 322 | |||
| 323 | <BR> |
||
| 324 | </TD> |
||
| 325 | </TR> |
||
| 326 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 327 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 328 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 329 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#appendCodePoint(int)">appendCodePoint</A></B>(int codePoint)</CODE> |
||
| 330 | |||
| 331 | <BR> |
||
| 332 | Appends the encoded Unicode code point.</TD> |
||
| 333 | </TR> |
||
| 334 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 335 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 336 | <CODE> int</CODE></FONT></TD> |
||
| 337 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#capacity()">capacity</A></B>()</CODE> |
||
| 338 | |||
| 339 | <BR> |
||
| 340 | Returns the number of characters that can be held without growing.</TD> |
||
| 341 | </TR> |
||
| 342 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 343 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 344 | <CODE> char</CODE></FONT></TD> |
||
| 345 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#charAt(int)">charAt</A></B>(int index)</CODE> |
||
| 346 | |||
| 347 | <BR> |
||
| 348 | Retrieves the character at the <code>index</code>.</TD> |
||
| 349 | </TR> |
||
| 350 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 351 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 352 | <CODE> int</CODE></FONT></TD> |
||
| 353 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#codePointAt(int)">codePointAt</A></B>(int index)</CODE> |
||
| 354 | |||
| 355 | <BR> |
||
| 356 | Retrieves the Unicode code point value at the <code>index</code>.</TD> |
||
| 357 | </TR> |
||
| 358 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 359 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 360 | <CODE> int</CODE></FONT></TD> |
||
| 361 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#codePointBefore(int)">codePointBefore</A></B>(int index)</CODE> |
||
| 362 | |||
| 363 | <BR> |
||
| 364 | Retrieves the Unicode code point value that precedes the <code>index</code>.</TD> |
||
| 365 | </TR> |
||
| 366 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 367 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 368 | <CODE> int</CODE></FONT></TD> |
||
| 369 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#codePointCount(int, int)">codePointCount</A></B>(int beginIndex, |
||
| 370 | int endIndex)</CODE> |
||
| 371 | |||
| 372 | <BR> |
||
| 373 | Calculates the number of Unicode code points between <code>beginIndex</code> and <code>endIndex</code>.</TD> |
||
| 374 | </TR> |
||
| 375 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 376 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 377 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 378 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#delete(int, int)">delete</A></B>(int start, |
||
| 379 | int end)</CODE> |
||
| 380 | |||
| 381 | <BR> |
||
| 382 | Deletes a sequence of characters specified by <code>start</code> and <code>end</code>.</TD> |
||
| 383 | </TR> |
||
| 384 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 385 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 386 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 387 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#deleteCharAt(int)">deleteCharAt</A></B>(int index)</CODE> |
||
| 388 | |||
| 389 | <BR> |
||
| 390 | Deletes the character at the specified index.</TD> |
||
| 391 | </TR> |
||
| 392 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 393 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 394 | <CODE> void</CODE></FONT></TD> |
||
| 395 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#ensureCapacity(int)">ensureCapacity</A></B>(int min)</CODE> |
||
| 396 | |||
| 397 | <BR> |
||
| 398 | Ensures that this object has a minimum capacity available before requiring the internal buffer to be enlarged.</TD> |
||
| 399 | </TR> |
||
| 400 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 401 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 402 | <CODE> boolean</CODE></FONT></TD> |
||
| 403 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object obj)</CODE> |
||
| 404 | |||
| 405 | <BR> |
||
| 406 | </TD> |
||
| 407 | </TR> |
||
| 408 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 409 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 410 | <CODE> void</CODE></FONT></TD> |
||
| 411 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#getChars(int, int, char[], int)">getChars</A></B>(int start, |
||
| 412 | int end, |
||
| 413 | char[] dest, |
||
| 414 | int destStart)</CODE> |
||
| 415 | |||
| 416 | <BR> |
||
| 417 | Copies the requested sequence of characters to the <code>char[]</code> passed starting at <code>destStart</code>.</TD> |
||
| 418 | </TR> |
||
| 419 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 420 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 421 | <CODE> int</CODE></FONT></TD> |
||
| 422 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#hashCode()">hashCode</A></B>()</CODE> |
||
| 423 | |||
| 424 | <BR> |
||
| 425 | </TD> |
||
| 426 | </TR> |
||
| 427 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 428 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 429 | <CODE> int</CODE></FONT></TD> |
||
| 430 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#indexOf(java.lang.String)">indexOf</A></B>(java.lang.String string)</CODE> |
||
| 431 | |||
| 432 | <BR> |
||
| 433 | Searches for the first index of the specified character.</TD> |
||
| 434 | </TR> |
||
| 435 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 436 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 437 | <CODE> int</CODE></FONT></TD> |
||
| 438 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#indexOf(java.lang.String, int)">indexOf</A></B>(java.lang.String subString, |
||
| 439 | int start)</CODE> |
||
| 440 | |||
| 441 | <BR> |
||
| 442 | Searches for the index of the specified character.</TD> |
||
| 443 | </TR> |
||
| 444 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 445 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 446 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 447 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, boolean)">insert</A></B>(int offset, |
||
| 448 | boolean b)</CODE> |
||
| 449 | |||
| 450 | <BR> |
||
| 451 | Inserts the string representation of the specified <code>boolean</code> value at the specified <code>offset</code>.</TD> |
||
| 452 | </TR> |
||
| 453 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 454 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 455 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 456 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, char)">insert</A></B>(int offset, |
||
| 457 | char c)</CODE> |
||
| 458 | |||
| 459 | <BR> |
||
| 460 | Inserts the string representation of the specified <code>char</code> value at the specified <code>offset</code>.</TD> |
||
| 461 | </TR> |
||
| 462 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 463 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 464 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 465 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, char[])">insert</A></B>(int offset, |
||
| 466 | char[] ch)</CODE> |
||
| 467 | |||
| 468 | <BR> |
||
| 469 | Inserts the string representation of the specified <code>char[]</code> at the specified <code>offset</code>.</TD> |
||
| 470 | </TR> |
||
| 471 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 472 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 473 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 474 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, char[], int, int)">insert</A></B>(int offset, |
||
| 475 | char[] str, |
||
| 476 | int strOffset, |
||
| 477 | int strLen)</CODE> |
||
| 478 | |||
| 479 | <BR> |
||
| 480 | Inserts the string representation of the specified subsequence of the <code>char[]</code> at the specified <code>offset</code>.</TD> |
||
| 481 | </TR> |
||
| 482 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 483 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 484 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 485 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, java.lang.CharSequence)">insert</A></B>(int offset, |
||
| 486 | java.lang.CharSequence s)</CODE> |
||
| 487 | |||
| 488 | <BR> |
||
| 489 | Inserts the string representation of the specified <code>CharSequence</code> at the specified <code>offset</code>.</TD> |
||
| 490 | </TR> |
||
| 491 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 492 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 493 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 494 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, java.lang.CharSequence, int, int)">insert</A></B>(int offset, |
||
| 495 | java.lang.CharSequence s, |
||
| 496 | int start, |
||
| 497 | int end)</CODE> |
||
| 498 | |||
| 499 | <BR> |
||
| 500 | Inserts the string representation of the specified subsequence of the <code>CharSequence</code> at the specified <code>offset</code>.</TD> |
||
| 501 | </TR> |
||
| 502 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 503 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 504 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 505 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, double)">insert</A></B>(int offset, |
||
| 506 | double d)</CODE> |
||
| 507 | |||
| 508 | <BR> |
||
| 509 | Inserts the string representation of the specified <code>double</code> value at the specified <code>offset</code>.</TD> |
||
| 510 | </TR> |
||
| 511 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 512 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 513 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 514 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, float)">insert</A></B>(int offset, |
||
| 515 | float f)</CODE> |
||
| 516 | |||
| 517 | <BR> |
||
| 518 | Inserts the string representation of the specified <code>float</code> value at the specified <code>offset</code>.</TD> |
||
| 519 | </TR> |
||
| 520 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 521 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 522 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 523 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, int)">insert</A></B>(int offset, |
||
| 524 | int i)</CODE> |
||
| 525 | |||
| 526 | <BR> |
||
| 527 | Inserts the string representation of the specified <code>int</code> value at the specified <code>offset</code>.</TD> |
||
| 528 | </TR> |
||
| 529 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 530 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 531 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 532 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, long)">insert</A></B>(int offset, |
||
| 533 | long l)</CODE> |
||
| 534 | |||
| 535 | <BR> |
||
| 536 | Inserts the string representation of the specified <code>long</code> value at the specified <code>offset</code>.</TD> |
||
| 537 | </TR> |
||
| 538 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 539 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 540 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 541 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, java.lang.Object)">insert</A></B>(int offset, |
||
| 542 | java.lang.Object obj)</CODE> |
||
| 543 | |||
| 544 | <BR> |
||
| 545 | Inserts the string representation of the specified <code>Object</code> at the specified <code>offset</code>.</TD> |
||
| 546 | </TR> |
||
| 547 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 548 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 549 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 550 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, java.lang.String)">insert</A></B>(int offset, |
||
| 551 | java.lang.String str)</CODE> |
||
| 552 | |||
| 553 | <BR> |
||
| 554 | Inserts the specified string at the specified <code>offset</code>.</TD> |
||
| 555 | </TR> |
||
| 556 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 557 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 558 | <CODE> int</CODE></FONT></TD> |
||
| 559 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#lastIndexOf(java.lang.String)">lastIndexOf</A></B>(java.lang.String string)</CODE> |
||
| 560 | |||
| 561 | <BR> |
||
| 562 | Searches for the last index of the specified character.</TD> |
||
| 563 | </TR> |
||
| 564 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 565 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 566 | <CODE> int</CODE></FONT></TD> |
||
| 567 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#lastIndexOf(java.lang.String, int)">lastIndexOf</A></B>(java.lang.String subString, |
||
| 568 | int start)</CODE> |
||
| 569 | |||
| 570 | <BR> |
||
| 571 | Searches for the index of the specified character.</TD> |
||
| 572 | </TR> |
||
| 573 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 574 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 575 | <CODE> int</CODE></FONT></TD> |
||
| 576 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#length()">length</A></B>()</CODE> |
||
| 577 | |||
| 578 | <BR> |
||
| 579 | The current length.</TD> |
||
| 580 | </TR> |
||
| 581 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 582 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 583 | <CODE> int</CODE></FONT></TD> |
||
| 584 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#offsetByCodePoints(int, int)">offsetByCodePoints</A></B>(int index, |
||
| 585 | int codePointOffset)</CODE> |
||
| 586 | |||
| 587 | <BR> |
||
| 588 | Returns the index that is offset <code>codePointOffset</code> code points from <code>index</code>.</TD> |
||
| 589 | </TR> |
||
| 590 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 591 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 592 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 593 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#replace(int, int, java.lang.String)">replace</A></B>(int start, |
||
| 594 | int end, |
||
| 595 | java.lang.String str)</CODE> |
||
| 596 | |||
| 597 | <BR> |
||
| 598 | Replaces the specified subsequence in this builder with the specified string.</TD> |
||
| 599 | </TR> |
||
| 600 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 601 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 602 | <CODE> <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD> |
||
| 603 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#reverse()">reverse</A></B>()</CODE> |
||
| 604 | |||
| 605 | <BR> |
||
| 606 | Reverses the order of characters in this builder.</TD> |
||
| 607 | </TR> |
||
| 608 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 609 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 610 | <CODE> void</CODE></FONT></TD> |
||
| 611 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#setCharAt(int, char)">setCharAt</A></B>(int index, |
||
| 612 | char ch)</CODE> |
||
| 613 | |||
| 614 | <BR> |
||
| 615 | Sets the character at the <code>index</code>.</TD> |
||
| 616 | </TR> |
||
| 617 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 618 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 619 | <CODE> void</CODE></FONT></TD> |
||
| 620 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#setLength(int)">setLength</A></B>(int newLength)</CODE> |
||
| 621 | |||
| 622 | <BR> |
||
| 623 | Sets the current length to a new value.</TD> |
||
| 624 | </TR> |
||
| 625 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 626 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 627 | <CODE> java.lang.CharSequence</CODE></FONT></TD> |
||
| 628 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#subSequence(int, int)">subSequence</A></B>(int start, |
||
| 629 | int end)</CODE> |
||
| 630 | |||
| 631 | <BR> |
||
| 632 | Returns a <code>CharSequence</code> of the subsequence from the <code>start</code> index to the <code>end</code> index.</TD> |
||
| 633 | </TR> |
||
| 634 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 635 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 636 | <CODE> java.lang.String</CODE></FONT></TD> |
||
| 637 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#substring(int)">substring</A></B>(int start)</CODE> |
||
| 638 | |||
| 639 | <BR> |
||
| 640 | Returns the String value of the subsequence from the <code>start</code> index to the current end.</TD> |
||
| 641 | </TR> |
||
| 642 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 643 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 644 | <CODE> java.lang.String</CODE></FONT></TD> |
||
| 645 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#substring(int, int)">substring</A></B>(int start, |
||
| 646 | int end)</CODE> |
||
| 647 | |||
| 648 | <BR> |
||
| 649 | Returns the String value of the subsequence from the <code>start</code> index to the <code>end</code> index.</TD> |
||
| 650 | </TR> |
||
| 651 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 652 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 653 | <CODE> java.lang.String</CODE></FONT></TD> |
||
| 654 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#toString()">toString</A></B>()</CODE> |
||
| 655 | |||
| 656 | <BR> |
||
| 657 | Returns the current String representation.</TD> |
||
| 658 | </TR> |
||
| 659 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 660 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 661 | <CODE> void</CODE></FONT></TD> |
||
| 662 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#trimToSize()">trimToSize</A></B>()</CODE> |
||
| 663 | |||
| 664 | <BR> |
||
| 665 | Trims off any extra capacity beyond the current length.</TD> |
||
| 666 | </TR> |
||
| 667 | </TABLE> |
||
| 668 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
| 669 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 670 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
| 671 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
||
| 672 | </TR> |
||
| 673 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 674 | <TD><CODE>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD> |
||
| 675 | </TR> |
||
| 676 | </TABLE> |
||
| 677 | |
||
| 678 | <P> |
||
| 679 | |||
| 680 | <!-- ============ FIELD DETAIL =========== --> |
||
| 681 | |||
| 682 | <A NAME="field_detail"><!-- --></A> |
||
| 683 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 684 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 685 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 686 | <B>Field Detail</B></FONT></TH> |
||
| 687 | </TR> |
||
| 688 | </TABLE> |
||
| 689 | |||
| 690 | <A NAME="chars"><!-- --></A><H3> |
||
| 691 | chars</H3> |
||
| 692 | <PRE> |
||
| 693 | public char[] <B>chars</B></PRE> |
||
| 694 | <DL> |
||
| 695 | <DL> |
||
| 696 | </DL> |
||
| 697 | </DL> |
||
| 698 | <HR> |
||
| 699 | |||
| 700 | <A NAME="length"><!-- --></A><H3> |
||
| 701 | length</H3> |
||
| 702 | <PRE> |
||
| 703 | public int <B>length</B></PRE> |
||
| 704 | <DL> |
||
| 705 | <DL> |
||
| 706 | </DL> |
||
| 707 | </DL> |
||
| 708 | |||
| 709 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
||
| 710 | |||
| 711 | <A NAME="constructor_detail"><!-- --></A> |
||
| 712 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 713 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 714 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 715 | <B>Constructor Detail</B></FONT></TH> |
||
| 716 | </TR> |
||
| 717 | </TABLE> |
||
| 718 | |||
| 719 | <A NAME="StringBuilder()"><!-- --></A><H3> |
||
| 720 | StringBuilder</H3> |
||
| 721 | <PRE> |
||
| 722 | public <B>StringBuilder</B>()</PRE> |
||
| 723 | <DL> |
||
| 724 | <DD>Constructs an instance with an initial capacity of <code>16</code>. |
||
| 725 | <P> |
||
| 726 | <DL> |
||
| 727 | <DT><B>See Also:</B><DD><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#capacity()"><CODE>capacity()</CODE></A></DL> |
||
| 728 | </DL> |
||
| 729 | <HR> |
||
| 730 | |||
| 731 | <A NAME="StringBuilder(int)"><!-- --></A><H3> |
||
| 732 | StringBuilder</H3> |
||
| 733 | <PRE> |
||
| 734 | public <B>StringBuilder</B>(int capacity)</PRE> |
||
| 735 | <DL> |
||
| 736 | <DD>Constructs an instance with the specified capacity. |
||
| 737 | <P> |
||
| 738 | <DL> |
||
| 739 | <DT><B>Parameters:</B><DD><CODE>capacity</CODE> - the initial capacity to use. |
||
| 740 | <DT><B>Throws:</B> |
||
| 741 | <DD><CODE>java.lang.NegativeArraySizeException</CODE> - if the specified <code>capacity</code> is negative.<DT><B>See Also:</B><DD><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#capacity()"><CODE>capacity()</CODE></A></DL> |
||
| 742 | </DL> |
||
| 743 | <HR> |
||
| 744 | |||
| 745 | <A NAME="StringBuilder(java.lang.CharSequence)"><!-- --></A><H3> |
||
| 746 | StringBuilder</H3> |
||
| 747 | <PRE> |
||
| 748 | public <B>StringBuilder</B>(java.lang.CharSequence seq)</PRE> |
||
| 749 | <DL> |
||
| 750 | <DD>Constructs an instance that's initialized with the contents of the specified <code>CharSequence</code>. The capacity of the new |
||
| 751 | builder will be the length of the <code>CharSequence</code> plus 16. |
||
| 752 | <P> |
||
| 753 | <DL> |
||
| 754 | <DT><B>Parameters:</B><DD><CODE>seq</CODE> - the <code>CharSequence</code> to copy into the builder. |
||
| 755 | <DT><B>Throws:</B> |
||
| 756 | <DD><CODE>java.lang.NullPointerException</CODE> - if <code>seq</code> is <code>null</code>.</DL> |
||
| 757 | </DL> |
||
| 758 | <HR> |
||
| 759 | |||
| 760 | <A NAME="StringBuilder(com.badlogic.gdx.utils.StringBuilder)"><!-- --></A><H3> |
||
| 761 | StringBuilder</H3> |
||
| 762 | <PRE> |
||
| 763 | public <B>StringBuilder</B>(<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> builder)</PRE> |
||
| 764 | <DL> |
||
| 765 | </DL> |
||
| 766 | <HR> |
||
| 767 | |||
| 768 | <A NAME="StringBuilder(java.lang.String)"><!-- --></A><H3> |
||
| 769 | StringBuilder</H3> |
||
| 770 | <PRE> |
||
| 771 | public <B>StringBuilder</B>(java.lang.String string)</PRE> |
||
| 772 | <DL> |
||
| 773 | <DD>Constructs an instance that's initialized with the contents of the specified <code>String</code>. The capacity of the new builder |
||
| 774 | will be the length of the <code>String</code> plus 16. |
||
| 775 | <P> |
||
| 776 | <DL> |
||
| 777 | <DT><B>Parameters:</B><DD><CODE>string</CODE> - the <code>String</code> to copy into the builder. |
||
| 778 | <DT><B>Throws:</B> |
||
| 779 | <DD><CODE>java.lang.NullPointerException</CODE> - if <code>str</code> is <code>null</code>.</DL> |
||
| 780 | </DL> |
||
| 781 | |||
| 782 | <!-- ============ METHOD DETAIL ========== --> |
||
| 783 | |||
| 784 | <A NAME="method_detail"><!-- --></A> |
||
| 785 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 786 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 787 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 788 | <B>Method Detail</B></FONT></TH> |
||
| 789 | </TR> |
||
| 790 | </TABLE> |
||
| 791 | |||
| 792 | <A NAME="capacity()"><!-- --></A><H3> |
||
| 793 | capacity</H3> |
||
| 794 | <PRE> |
||
| 795 | public int <B>capacity</B>()</PRE> |
||
| 796 | <DL> |
||
| 797 | <DD>Returns the number of characters that can be held without growing. |
||
| 798 | <P> |
||
| 799 | <DD><DL> |
||
| 800 | </DL> |
||
| 801 | </DD> |
||
| 802 | <DD><DL> |
||
| 803 | |||
| 804 | <DT><B>Returns:</B><DD>the capacity<DT><B>See Also:</B><DD><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#ensureCapacity(int)"><CODE>ensureCapacity(int)</CODE></A>, |
||
| 805 | <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#length"><CODE>length</CODE></A></DL> |
||
| 806 | </DD> |
||
| 807 | </DL> |
||
| 808 | <HR> |
||
| 809 | |||
| 810 | <A NAME="charAt(int)"><!-- --></A><H3> |
||
| 811 | charAt</H3> |
||
| 812 | <PRE> |
||
| 813 | public char <B>charAt</B>(int index)</PRE> |
||
| 814 | <DL> |
||
| 815 | <DD>Retrieves the character at the <code>index</code>. |
||
| 816 | <P> |
||
| 817 | <DD><DL> |
||
| 818 | <DT><B>Specified by:</B><DD><CODE>charAt</CODE> in interface <CODE>java.lang.CharSequence</CODE></DL> |
||
| 819 | </DD> |
||
| 820 | <DD><DL> |
||
| 821 | <DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the character to retrieve. |
||
| 822 | <DT><B>Returns:</B><DD>the char value. |
||
| 823 | <DT><B>Throws:</B> |
||
| 824 | <DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - if <code>index</code> is negative or greater than or equal to the current <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#length()"><CODE>length()</CODE></A>.</DL> |
||
| 825 | </DD> |
||
| 826 | </DL> |
||
| 827 | <HR> |
||
| 828 | |||
| 829 | <A NAME="ensureCapacity(int)"><!-- --></A><H3> |
||
| 830 | ensureCapacity</H3> |
||
| 831 | <PRE> |
||
| 832 | public void <B>ensureCapacity</B>(int min)</PRE> |
||
| 833 | <DL> |
||
| 834 | <DD>Ensures that this object has a minimum capacity available before requiring the internal buffer to be enlarged. The general |
||
| 835 | policy of this method is that if the <code>minimumCapacity</code> is larger than the current <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#capacity()"><CODE>capacity()</CODE></A>, then the |
||
| 836 | capacity will be increased to the largest value of either the <code>minimumCapacity</code> or the current capacity multiplied by |
||
| 837 | two plus two. Although this is the general policy, there is no guarantee that the capacity will change. |
||
| 838 | <P> |
||
| 839 | <DD><DL> |
||
| 840 | </DL> |
||
| 841 | </DD> |
||
| 842 | <DD><DL> |
||
| 843 | <DT><B>Parameters:</B><DD><CODE>min</CODE> - the new minimum capacity to set.</DL> |
||
| 844 | </DD> |
||
| 845 | </DL> |
||
| 846 | <HR> |
||
| 847 | |||
| 848 | <A NAME="getChars(int, int, char[], int)"><!-- --></A><H3> |
||
| 849 | getChars</H3> |
||
| 850 | <PRE> |
||
| 851 | public void <B>getChars</B>(int start, |
||
| 852 | int end, |
||
| 853 | char[] dest, |
||
| 854 | int destStart)</PRE> |
||
| 855 | <DL> |
||
| 856 | <DD>Copies the requested sequence of characters to the <code>char[]</code> passed starting at <code>destStart</code>. |
||
| 857 | <P> |
||
| 858 | <DD><DL> |
||
| 859 | </DL> |
||
| 860 | </DD> |
||
| 861 | <DD><DL> |
||
| 862 | <DT><B>Parameters:</B><DD><CODE>start</CODE> - the inclusive start index of the characters to copy.<DD><CODE>end</CODE> - the exclusive end index of the characters to copy.<DD><CODE>dest</CODE> - the <code>char[]</code> to copy the characters to.<DD><CODE>destStart</CODE> - the inclusive start index of <code>dest</code> to begin copying to. |
||
| 863 | <DT><B>Throws:</B> |
||
| 864 | <DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - if the <code>start</code> is negative, the <code>destStart</code> is negative, the <code>start</code> is |
||
| 865 | greater than <code>end</code>, the <code>end</code> is greater than the current <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#length()"><CODE>length()</CODE></A> or |
||
| 866 | <code>destStart + end - begin</code> is greater than <code>dest.length</code>.</DL> |
||
| 867 | </DD> |
||
| 868 | </DL> |
||
| 869 | <HR> |
||
| 870 | |||
| 871 | <A NAME="length()"><!-- --></A><H3> |
||
| 872 | length</H3> |
||
| 873 | <PRE> |
||
| 874 | public int <B>length</B>()</PRE> |
||
| 875 | <DL> |
||
| 876 | <DD>The current length. |
||
| 877 | <P> |
||
| 878 | <DD><DL> |
||
| 879 | <DT><B>Specified by:</B><DD><CODE>length</CODE> in interface <CODE>java.lang.CharSequence</CODE></DL> |
||
| 880 | </DD> |
||
| 881 | <DD><DL> |
||
| 882 | |||
| 883 | <DT><B>Returns:</B><DD>the number of characters contained in this instance.</DL> |
||
| 884 | </DD> |
||
| 885 | </DL> |
||
| 886 | <HR> |
||
| 887 | |||
| 888 | <A NAME="setCharAt(int, char)"><!-- --></A><H3> |
||
| 889 | setCharAt</H3> |
||
| 890 | <PRE> |
||
| 891 | public void <B>setCharAt</B>(int index, |
||
| 892 | char ch)</PRE> |
||
| 893 | <DL> |
||
| 894 | <DD>Sets the character at the <code>index</code>. |
||
| 895 | <P> |
||
| 896 | <DD><DL> |
||
| 897 | </DL> |
||
| 898 | </DD> |
||
| 899 | <DD><DL> |
||
| 900 | <DT><B>Parameters:</B><DD><CODE>index</CODE> - the zero-based index of the character to replace.<DD><CODE>ch</CODE> - the character to set. |
||
| 901 | <DT><B>Throws:</B> |
||
| 902 | <DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - if <code>index</code> is negative or greater than or equal to the current <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#length()"><CODE>length()</CODE></A>.</DL> |
||
| 903 | </DD> |
||
| 904 | </DL> |
||
| 905 | <HR> |
||
| 906 | |||
| 907 | <A NAME="setLength(int)"><!-- --></A><H3> |
||
| 908 | setLength</H3> |
||
| 909 | <PRE> |
||
| 910 | public void <B>setLength</B>(int newLength)</PRE> |
||
| 911 | <DL> |
||
| 912 | <DD>Sets the current length to a new value. If the new length is larger than the current length, then the new characters at the |
||
| 913 | end of this object will contain the <code>char</code> value of <code> |