Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
272 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 Mon Jul 02 02:26:13 CEST 2012 -->
6
<TITLE>
7
StringBuilder (libgdx API)
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2012-07-02">
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>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/StringBuilder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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
&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/SortedIntList.Node.html" title="class in com.badlogic.gdx.utils"><B>PREV CLASS</B></A>&nbsp;
74
&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/TimeUtils.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>  &nbsp;
77
&nbsp;<A HREF="StringBuilder.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
78
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
95
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
96
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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>&nbsp;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
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
149
</TR>
150
<TR BGCOLOR="white" CLASS="TableRowColor">
151
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
152
<CODE>&nbsp;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
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
157
</TR>
158
</TABLE>
159
&nbsp;
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
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;seq)</CODE>
176
 
177
<BR>
178
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;capacity)</CODE>
182
 
183
<BR>
184
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;string)</CODE>
188
 
189
<BR>
190
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance that's initialized with the contents of the specified <code>String</code>.</TD>
191
</TR>
192
</TABLE>
193
&nbsp;
194
<!-- ========== METHOD SUMMARY =========== -->
195
 
196
<A NAME="method_summary"><!-- --></A>
197
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
198
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
199
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
200
<B>Method Summary</B></FONT></TH>
201
</TR>
202
<TR BGCOLOR="white" CLASS="TableRowColor">
203
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
205
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(boolean)">append</A></B>(boolean&nbsp;b)</CODE>
206
 
207
<BR>
208
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the string representation of the specified <code>boolean</code> value.</TD>
209
</TR>
210
<TR BGCOLOR="white" CLASS="TableRowColor">
211
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
212
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
213
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(char)">append</A></B>(char&nbsp;c)</CODE>
214
 
215
<BR>
216
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the string representation of the specified <code>char</code> value.</TD>
217
</TR>
218
<TR BGCOLOR="white" CLASS="TableRowColor">
219
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
220
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
221
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(char[])">append</A></B>(char[]&nbsp;ch)</CODE>
222
 
223
<BR>
224
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the string representation of the specified <code>char[]</code>.</TD>
225
</TR>
226
<TR BGCOLOR="white" CLASS="TableRowColor">
227
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
229
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(char[], int, int)">append</A></B>(char[]&nbsp;str,
230
       int&nbsp;offset,
231
       int&nbsp;len)</CODE>
232
 
233
<BR>
234
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the string representation of the specified subset of the <code>char[]</code>.</TD>
235
</TR>
236
<TR BGCOLOR="white" CLASS="TableRowColor">
237
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
238
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
239
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(java.lang.CharSequence)">append</A></B>(java.lang.CharSequence&nbsp;csq)</CODE>
240
 
241
<BR>
242
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the string representation of the specified <code>CharSequence</code>.</TD>
243
</TR>
244
<TR BGCOLOR="white" CLASS="TableRowColor">
245
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
246
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
247
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(java.lang.CharSequence, int, int)">append</A></B>(java.lang.CharSequence&nbsp;csq,
248
       int&nbsp;start,
249
       int&nbsp;end)</CODE>
250
 
251
<BR>
252
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the string representation of the specified subsequence of the <code>CharSequence</code>.</TD>
253
</TR>
254
<TR BGCOLOR="white" CLASS="TableRowColor">
255
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
256
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
257
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(double)">append</A></B>(double&nbsp;d)</CODE>
258
 
259
<BR>
260
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the string representation of the specified <code>double</code> value.</TD>
261
</TR>
262
<TR BGCOLOR="white" CLASS="TableRowColor">
263
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
264
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
265
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(float)">append</A></B>(float&nbsp;f)</CODE>
266
 
267
<BR>
268
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the string representation of the specified <code>float</code> value.</TD>
269
</TR>
270
<TR BGCOLOR="white" CLASS="TableRowColor">
271
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
272
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
273
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(int)">append</A></B>(int&nbsp;i)</CODE>
274
 
275
<BR>
276
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the string representation of the specified <code>int</code> value.</TD>
277
</TR>
278
<TR BGCOLOR="white" CLASS="TableRowColor">
279
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
280
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
281
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(long)">append</A></B>(long&nbsp;lng)</CODE>
282
 
283
<BR>
284
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the string representation of the specified <code>long</code> value.</TD>
285
</TR>
286
<TR BGCOLOR="white" CLASS="TableRowColor">
287
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
288
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
289
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(java.lang.Object)">append</A></B>(java.lang.Object&nbsp;obj)</CODE>
290
 
291
<BR>
292
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the string representation of the specified <code>Object</code>.</TD>
293
</TR>
294
<TR BGCOLOR="white" CLASS="TableRowColor">
295
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
296
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
297
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#append(java.lang.String)">append</A></B>(java.lang.String&nbsp;str)</CODE>
298
 
299
<BR>
300
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the contents of the specified string.</TD>
301
</TR>
302
<TR BGCOLOR="white" CLASS="TableRowColor">
303
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
304
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
305
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#appendCodePoint(int)">appendCodePoint</A></B>(int&nbsp;codePoint)</CODE>
306
 
307
<BR>
308
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the encoded Unicode code point.</TD>
309
</TR>
310
<TR BGCOLOR="white" CLASS="TableRowColor">
311
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
312
<CODE>&nbsp;int</CODE></FONT></TD>
313
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#capacity()">capacity</A></B>()</CODE>
314
 
315
<BR>
316
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of characters that can be held without growing.</TD>
317
</TR>
318
<TR BGCOLOR="white" CLASS="TableRowColor">
319
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
320
<CODE>&nbsp;char</CODE></FONT></TD>
321
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#charAt(int)">charAt</A></B>(int&nbsp;index)</CODE>
322
 
323
<BR>
324
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the character at the <code>index</code>.</TD>
325
</TR>
326
<TR BGCOLOR="white" CLASS="TableRowColor">
327
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
328
<CODE>&nbsp;int</CODE></FONT></TD>
329
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#codePointAt(int)">codePointAt</A></B>(int&nbsp;index)</CODE>
330
 
331
<BR>
332
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the Unicode code point value at the <code>index</code>.</TD>
333
</TR>
334
<TR BGCOLOR="white" CLASS="TableRowColor">
335
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
336
<CODE>&nbsp;int</CODE></FONT></TD>
337
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#codePointBefore(int)">codePointBefore</A></B>(int&nbsp;index)</CODE>
338
 
339
<BR>
340
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the Unicode code point value that precedes the <code>index</code>.</TD>
341
</TR>
342
<TR BGCOLOR="white" CLASS="TableRowColor">
343
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
344
<CODE>&nbsp;int</CODE></FONT></TD>
345
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#codePointCount(int, int)">codePointCount</A></B>(int&nbsp;beginIndex,
346
               int&nbsp;endIndex)</CODE>
347
 
348
<BR>
349
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates the number of Unicode code points between <code>beginIndex</code> and <code>endIndex</code>.</TD>
350
</TR>
351
<TR BGCOLOR="white" CLASS="TableRowColor">
352
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
353
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
354
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#delete(int, int)">delete</A></B>(int&nbsp;start,
355
       int&nbsp;end)</CODE>
356
 
357
<BR>
358
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deletes a sequence of characters specified by <code>start</code> and <code>end</code>.</TD>
359
</TR>
360
<TR BGCOLOR="white" CLASS="TableRowColor">
361
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
362
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
363
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#deleteCharAt(int)">deleteCharAt</A></B>(int&nbsp;index)</CODE>
364
 
365
<BR>
366
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deletes the character at the specified index.</TD>
367
</TR>
368
<TR BGCOLOR="white" CLASS="TableRowColor">
369
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
370
<CODE>&nbsp;void</CODE></FONT></TD>
371
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#ensureCapacity(int)">ensureCapacity</A></B>(int&nbsp;min)</CODE>
372
 
373
<BR>
374
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ensures that this object has a minimum capacity available before requiring the internal buffer to be enlarged.</TD>
375
</TR>
376
<TR BGCOLOR="white" CLASS="TableRowColor">
377
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
378
<CODE>&nbsp;boolean</CODE></FONT></TD>
379
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;obj)</CODE>
380
 
381
<BR>
382
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
383
</TR>
384
<TR BGCOLOR="white" CLASS="TableRowColor">
385
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
386
<CODE>&nbsp;void</CODE></FONT></TD>
387
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#getChars(int, int, char[], int)">getChars</A></B>(int&nbsp;start,
388
         int&nbsp;end,
389
         char[]&nbsp;dest,
390
         int&nbsp;destStart)</CODE>
391
 
392
<BR>
393
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the requested sequence of characters to the <code>char[]</code> passed starting at <code>destStart</code>.</TD>
394
</TR>
395
<TR BGCOLOR="white" CLASS="TableRowColor">
396
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
397
<CODE>&nbsp;int</CODE></FONT></TD>
398
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#hashCode()">hashCode</A></B>()</CODE>
399
 
400
<BR>
401
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
402
</TR>
403
<TR BGCOLOR="white" CLASS="TableRowColor">
404
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
405
<CODE>&nbsp;int</CODE></FONT></TD>
406
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#indexOf(java.lang.String)">indexOf</A></B>(java.lang.String&nbsp;string)</CODE>
407
 
408
<BR>
409
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches for the first index of the specified character.</TD>
410
</TR>
411
<TR BGCOLOR="white" CLASS="TableRowColor">
412
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
413
<CODE>&nbsp;int</CODE></FONT></TD>
414
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#indexOf(java.lang.String, int)">indexOf</A></B>(java.lang.String&nbsp;subString,
415
        int&nbsp;start)</CODE>
416
 
417
<BR>
418
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches for the index of the specified character.</TD>
419
</TR>
420
<TR BGCOLOR="white" CLASS="TableRowColor">
421
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
422
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
423
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, boolean)">insert</A></B>(int&nbsp;offset,
424
       boolean&nbsp;b)</CODE>
425
 
426
<BR>
427
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the specified <code>boolean</code> value at the specified <code>offset</code>.</TD>
428
</TR>
429
<TR BGCOLOR="white" CLASS="TableRowColor">
430
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
431
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
432
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, char)">insert</A></B>(int&nbsp;offset,
433
       char&nbsp;c)</CODE>
434
 
435
<BR>
436
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the specified <code>char</code> value at the specified <code>offset</code>.</TD>
437
</TR>
438
<TR BGCOLOR="white" CLASS="TableRowColor">
439
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
440
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
441
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, char[])">insert</A></B>(int&nbsp;offset,
442
       char[]&nbsp;ch)</CODE>
443
 
444
<BR>
445
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the specified <code>char[]</code> at the specified <code>offset</code>.</TD>
446
</TR>
447
<TR BGCOLOR="white" CLASS="TableRowColor">
448
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
449
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
450
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, char[], int, int)">insert</A></B>(int&nbsp;offset,
451
       char[]&nbsp;str,
452
       int&nbsp;strOffset,
453
       int&nbsp;strLen)</CODE>
454
 
455
<BR>
456
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the specified subsequence of the <code>char[]</code> at the specified <code>offset</code>.</TD>
457
</TR>
458
<TR BGCOLOR="white" CLASS="TableRowColor">
459
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
460
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
461
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, java.lang.CharSequence)">insert</A></B>(int&nbsp;offset,
462
       java.lang.CharSequence&nbsp;s)</CODE>
463
 
464
<BR>
465
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the specified <code>CharSequence</code> at the specified <code>offset</code>.</TD>
466
</TR>
467
<TR BGCOLOR="white" CLASS="TableRowColor">
468
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
469
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
470
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, java.lang.CharSequence, int, int)">insert</A></B>(int&nbsp;offset,
471
       java.lang.CharSequence&nbsp;s,
472
       int&nbsp;start,
473
       int&nbsp;end)</CODE>
474
 
475
<BR>
476
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the specified subsequence of the <code>CharSequence</code> at the specified <code>offset</code>.</TD>
477
</TR>
478
<TR BGCOLOR="white" CLASS="TableRowColor">
479
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
480
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
481
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, double)">insert</A></B>(int&nbsp;offset,
482
       double&nbsp;d)</CODE>
483
 
484
<BR>
485
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the specified <code>double</code> value at the specified <code>offset</code>.</TD>
486
</TR>
487
<TR BGCOLOR="white" CLASS="TableRowColor">
488
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
489
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
490
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, float)">insert</A></B>(int&nbsp;offset,
491
       float&nbsp;f)</CODE>
492
 
493
<BR>
494
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the specified <code>float</code> value at the specified <code>offset</code>.</TD>
495
</TR>
496
<TR BGCOLOR="white" CLASS="TableRowColor">
497
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
498
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
499
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, int)">insert</A></B>(int&nbsp;offset,
500
       int&nbsp;i)</CODE>
501
 
502
<BR>
503
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the specified <code>int</code> value at the specified <code>offset</code>.</TD>
504
</TR>
505
<TR BGCOLOR="white" CLASS="TableRowColor">
506
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
507
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
508
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, long)">insert</A></B>(int&nbsp;offset,
509
       long&nbsp;l)</CODE>
510
 
511
<BR>
512
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the specified <code>long</code> value at the specified <code>offset</code>.</TD>
513
</TR>
514
<TR BGCOLOR="white" CLASS="TableRowColor">
515
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
516
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
517
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, java.lang.Object)">insert</A></B>(int&nbsp;offset,
518
       java.lang.Object&nbsp;obj)</CODE>
519
 
520
<BR>
521
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the string representation of the specified <code>Object</code> at the specified <code>offset</code>.</TD>
522
</TR>
523
<TR BGCOLOR="white" CLASS="TableRowColor">
524
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
525
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
526
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert(int, java.lang.String)">insert</A></B>(int&nbsp;offset,
527
       java.lang.String&nbsp;str)</CODE>
528
 
529
<BR>
530
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the specified string at the specified <code>offset</code>.</TD>
531
</TR>
532
<TR BGCOLOR="white" CLASS="TableRowColor">
533
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
534
<CODE>&nbsp;int</CODE></FONT></TD>
535
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#lastIndexOf(java.lang.String)">lastIndexOf</A></B>(java.lang.String&nbsp;string)</CODE>
536
 
537
<BR>
538
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches for the last index of the specified character.</TD>
539
</TR>
540
<TR BGCOLOR="white" CLASS="TableRowColor">
541
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
542
<CODE>&nbsp;int</CODE></FONT></TD>
543
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#lastIndexOf(java.lang.String, int)">lastIndexOf</A></B>(java.lang.String&nbsp;subString,
544
            int&nbsp;start)</CODE>
545
 
546
<BR>
547
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches for the index of the specified character.</TD>
548
</TR>
549
<TR BGCOLOR="white" CLASS="TableRowColor">
550
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
551
<CODE>&nbsp;int</CODE></FONT></TD>
552
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#length()">length</A></B>()</CODE>
553
 
554
<BR>
555
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The current length.</TD>
556
</TR>
557
<TR BGCOLOR="white" CLASS="TableRowColor">
558
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
559
<CODE>&nbsp;int</CODE></FONT></TD>
560
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#offsetByCodePoints(int, int)">offsetByCodePoints</A></B>(int&nbsp;index,
561
                   int&nbsp;codePointOffset)</CODE>
562
 
563
<BR>
564
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the index that is offset <code>codePointOffset</code> code points from <code>index</code>.</TD>
565
</TR>
566
<TR BGCOLOR="white" CLASS="TableRowColor">
567
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
568
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
569
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#replace(int, int, java.lang.String)">replace</A></B>(int&nbsp;start,
570
        int&nbsp;end,
571
        java.lang.String&nbsp;str)</CODE>
572
 
573
<BR>
574
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replaces the specified subsequence in this builder with the specified string.</TD>
575
</TR>
576
<TR BGCOLOR="white" CLASS="TableRowColor">
577
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
578
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A></CODE></FONT></TD>
579
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#reverse()">reverse</A></B>()</CODE>
580
 
581
<BR>
582
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reverses the order of characters in this builder.</TD>
583
</TR>
584
<TR BGCOLOR="white" CLASS="TableRowColor">
585
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
586
<CODE>&nbsp;void</CODE></FONT></TD>
587
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#setCharAt(int, char)">setCharAt</A></B>(int&nbsp;index,
588
          char&nbsp;ch)</CODE>
589
 
590
<BR>
591
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the character at the <code>index</code>.</TD>
592
</TR>
593
<TR BGCOLOR="white" CLASS="TableRowColor">
594
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
595
<CODE>&nbsp;void</CODE></FONT></TD>
596
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#setLength(int)">setLength</A></B>(int&nbsp;newLength)</CODE>
597
 
598
<BR>
599
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the current length to a new value.</TD>
600
</TR>
601
<TR BGCOLOR="white" CLASS="TableRowColor">
602
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
603
<CODE>&nbsp;java.lang.CharSequence</CODE></FONT></TD>
604
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#subSequence(int, int)">subSequence</A></B>(int&nbsp;start,
605
            int&nbsp;end)</CODE>
606
 
607
<BR>
608
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <code>CharSequence</code> of the subsequence from the <code>start</code> index to the <code>end</code> index.</TD>
609
</TR>
610
<TR BGCOLOR="white" CLASS="TableRowColor">
611
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
612
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
613
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#substring(int)">substring</A></B>(int&nbsp;start)</CODE>
614
 
615
<BR>
616
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the String value of the subsequence from the <code>start</code> index to the current end.</TD>
617
</TR>
618
<TR BGCOLOR="white" CLASS="TableRowColor">
619
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
620
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
621
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#substring(int, int)">substring</A></B>(int&nbsp;start,
622
          int&nbsp;end)</CODE>
623
 
624
<BR>
625
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the String value of the subsequence from the <code>start</code> index to the <code>end</code> index.</TD>
626
</TR>
627
<TR BGCOLOR="white" CLASS="TableRowColor">
628
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
629
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
630
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#toString()">toString</A></B>()</CODE>
631
 
632
<BR>
633
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current String representation.</TD>
634
</TR>
635
<TR BGCOLOR="white" CLASS="TableRowColor">
636
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
637
<CODE>&nbsp;void</CODE></FONT></TD>
638
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#trimToSize()">trimToSize</A></B>()</CODE>
639
 
640
<BR>
641
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Trims off any extra capacity beyond the current length.</TD>
642
</TR>
643
</TABLE>
644
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
645
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
646
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
647
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
648
</TR>
649
<TR BGCOLOR="white" CLASS="TableRowColor">
650
<TD><CODE>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
651
</TR>
652
</TABLE>
653
&nbsp;
654
<P>
655
 
656
<!-- ============ FIELD DETAIL =========== -->
657
 
658
<A NAME="field_detail"><!-- --></A>
659
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
660
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
661
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
662
<B>Field Detail</B></FONT></TH>
663
</TR>
664
</TABLE>
665
 
666
<A NAME="chars"><!-- --></A><H3>
667
chars</H3>
668
<PRE>
669
public char[] <B>chars</B></PRE>
670
<DL>
671
<DL>
672
</DL>
673
</DL>
674
<HR>
675
 
676
<A NAME="length"><!-- --></A><H3>
677
length</H3>
678
<PRE>
679
public int <B>length</B></PRE>
680
<DL>
681
<DL>
682
</DL>
683
</DL>
684
 
685
<!-- ========= CONSTRUCTOR DETAIL ======== -->
686
 
687
<A NAME="constructor_detail"><!-- --></A>
688
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
689
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
690
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
691
<B>Constructor Detail</B></FONT></TH>
692
</TR>
693
</TABLE>
694
 
695
<A NAME="StringBuilder()"><!-- --></A><H3>
696
StringBuilder</H3>
697
<PRE>
698
public <B>StringBuilder</B>()</PRE>
699
<DL>
700
<DD>Constructs an instance with an initial capacity of <code>16</code>.
701
<P>
702
<DL>
703
<DT><B>See Also:</B><DD><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#capacity()"><CODE>capacity()</CODE></A></DL>
704
</DL>
705
<HR>
706
 
707
<A NAME="StringBuilder(int)"><!-- --></A><H3>
708
StringBuilder</H3>
709
<PRE>
710
public <B>StringBuilder</B>(int&nbsp;capacity)</PRE>
711
<DL>
712
<DD>Constructs an instance with the specified capacity.
713
<P>
714
<DL>
715
<DT><B>Parameters:</B><DD><CODE>capacity</CODE> - the initial capacity to use.
716
<DT><B>Throws:</B>
717
<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>
718
</DL>
719
<HR>
720
 
721
<A NAME="StringBuilder(java.lang.CharSequence)"><!-- --></A><H3>
722
StringBuilder</H3>
723
<PRE>
724
public <B>StringBuilder</B>(java.lang.CharSequence&nbsp;seq)</PRE>
725
<DL>
726
<DD>Constructs an instance that's initialized with the contents of the specified <code>CharSequence</code>. The capacity of the new
727
 builder will be the length of the <code>CharSequence</code> plus 16.
728
<P>
729
<DL>
730
<DT><B>Parameters:</B><DD><CODE>seq</CODE> - the <code>CharSequence</code> to copy into the builder.
731
<DT><B>Throws:</B>
732
<DD><CODE>java.lang.NullPointerException</CODE> - if <code>seq</code> is <code>null</code>.</DL>
733
</DL>
734
<HR>
735
 
736
<A NAME="StringBuilder(java.lang.String)"><!-- --></A><H3>
737
StringBuilder</H3>
738
<PRE>
739
public <B>StringBuilder</B>(java.lang.String&nbsp;string)</PRE>
740
<DL>
741
<DD>Constructs an instance that's initialized with the contents of the specified <code>String</code>. The capacity of the new builder
742
 will be the length of the <code>String</code> plus 16.
743
<P>
744
<DL>
745
<DT><B>Parameters:</B><DD><CODE>string</CODE> - the <code>String</code> to copy into the builder.
746
<DT><B>Throws:</B>
747
<DD><CODE>java.lang.NullPointerException</CODE> - if <code>str</code> is <code>null</code>.</DL>
748
</DL>
749
 
750
<!-- ============ METHOD DETAIL ========== -->
751
 
752
<A NAME="method_detail"><!-- --></A>
753
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
754
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
755
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
756
<B>Method Detail</B></FONT></TH>
757
</TR>
758
</TABLE>
759
 
760
<A NAME="capacity()"><!-- --></A><H3>
761
capacity</H3>
762
<PRE>
763
public int <B>capacity</B>()</PRE>
764
<DL>
765
<DD>Returns the number of characters that can be held without growing.
766
<P>
767
<DD><DL>
768
</DL>
769
</DD>
770
<DD><DL>
771
 
772
<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>,
773
<A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#length"><CODE>length</CODE></A></DL>
774
</DD>
775
</DL>
776
<HR>
777
 
778
<A NAME="charAt(int)"><!-- --></A><H3>
779
charAt</H3>
780
<PRE>
781
public char <B>charAt</B>(int&nbsp;index)</PRE>
782
<DL>
783
<DD>Retrieves the character at the <code>index</code>.
784
<P>
785
<DD><DL>
786
<DT><B>Specified by:</B><DD><CODE>charAt</CODE> in interface <CODE>java.lang.CharSequence</CODE></DL>
787
</DD>
788
<DD><DL>
789
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the character to retrieve.
790
<DT><B>Returns:</B><DD>the char value.
791
<DT><B>Throws:</B>
792
<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>
793
</DD>
794
</DL>
795
<HR>
796
 
797
<A NAME="ensureCapacity(int)"><!-- --></A><H3>
798
ensureCapacity</H3>
799
<PRE>
800
public void <B>ensureCapacity</B>(int&nbsp;min)</PRE>
801
<DL>
802
<DD>Ensures that this object has a minimum capacity available before requiring the internal buffer to be enlarged. The general
803
 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
804
 capacity will be increased to the largest value of either the <code>minimumCapacity</code> or the current capacity multiplied by
805
 two plus two. Although this is the general policy, there is no guarantee that the capacity will change.
806
<P>
807
<DD><DL>
808
</DL>
809
</DD>
810
<DD><DL>
811
<DT><B>Parameters:</B><DD><CODE>min</CODE> - the new minimum capacity to set.</DL>
812
</DD>
813
</DL>
814
<HR>
815
 
816
<A NAME="getChars(int, int, char[], int)"><!-- --></A><H3>
817
getChars</H3>
818
<PRE>
819
public void <B>getChars</B>(int&nbsp;start,
820
                     int&nbsp;end,
821
                     char[]&nbsp;dest,
822
                     int&nbsp;destStart)</PRE>
823
<DL>
824
<DD>Copies the requested sequence of characters to the <code>char[]</code> passed starting at <code>destStart</code>.
825
<P>
826
<DD><DL>
827
</DL>
828
</DD>
829
<DD><DL>
830
<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.
831
<DT><B>Throws:</B>
832
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - if the <code>start</code> is negative, the <code>destStart</code> is negative, the <code>start</code> is
833
            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
834
            <code>destStart + end - begin</code> is greater than <code>dest.length</code>.</DL>
835
</DD>
836
</DL>
837
<HR>
838
 
839
<A NAME="length()"><!-- --></A><H3>
840
length</H3>
841
<PRE>
842
public int <B>length</B>()</PRE>
843
<DL>
844
<DD>The current length.
845
<P>
846
<DD><DL>
847
<DT><B>Specified by:</B><DD><CODE>length</CODE> in interface <CODE>java.lang.CharSequence</CODE></DL>
848
</DD>
849
<DD><DL>
850
 
851
<DT><B>Returns:</B><DD>the number of characters contained in this instance.</DL>
852
</DD>
853
</DL>
854
<HR>
855
 
856
<A NAME="setCharAt(int, char)"><!-- --></A><H3>
857
setCharAt</H3>
858
<PRE>
859
public void <B>setCharAt</B>(int&nbsp;index,
860
                      char&nbsp;ch)</PRE>
861
<DL>
862
<DD>Sets the character at the <code>index</code>.
863
<P>
864
<DD><DL>
865
</DL>
866
</DD>
867
<DD><DL>
868
<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.
869
<DT><B>Throws:</B>
870
<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>
871
</DD>
872
</DL>
873
<HR>
874
 
875
<A NAME="setLength(int)"><!-- --></A><H3>
876
setLength</H3>
877
<PRE>
878
public void <B>setLength</B>(int&nbsp;newLength)</PRE>
879
<DL>
880
<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
881
 end of this object will contain the <code>char</code> value of <code></code>.
882
<P>
883
<DD><DL>
884
</DL>
885
</DD>
886
<DD><DL>
887
<DT><B>Parameters:</B><DD><CODE>newLength</CODE> - the new length of this StringBuilder.
888
<DT><B>Throws:</B>
889
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - if <code>length &lt; 0</code>.<DT><B>See Also:</B><DD><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#length"><CODE>length</CODE></A></DL>
890
</DD>
891
</DL>
892
<HR>
893
 
894
<A NAME="substring(int)"><!-- --></A><H3>
895
substring</H3>
896
<PRE>
897
public java.lang.String <B>substring</B>(int&nbsp;start)</PRE>
898
<DL>
899
<DD>Returns the String value of the subsequence from the <code>start</code> index to the current end.
900
<P>
901
<DD><DL>
902
</DL>
903
</DD>
904
<DD><DL>
905
<DT><B>Parameters:</B><DD><CODE>start</CODE> - the inclusive start index to begin the subsequence.
906
<DT><B>Returns:</B><DD>a String containing the subsequence.
907
<DT><B>Throws:</B>
908
<DD><CODE>java.lang.StringIndexOutOfBoundsException</CODE> - if <code>start</code> is negative or greater than the current <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#length()"><CODE>length()</CODE></A>.</DL>
909
</DD>
910
</DL>
911
<HR>
912
 
913
<A NAME="substring(int, int)"><!-- --></A><H3>
914
substring</H3>
915
<PRE>
916
public java.lang.String <B>substring</B>(int&nbsp;start,
917
                                  int&nbsp;end)</PRE>
918
<DL>
919
<DD>Returns the String value of the subsequence from the <code>start</code> index to the <code>end</code> index.
920
<P>
921
<DD><DL>
922
</DL>
923
</DD>
924
<DD><DL>
925
<DT><B>Parameters:</B><DD><CODE>start</CODE> - the inclusive start index to begin the subsequence.<DD><CODE>end</CODE> - the exclusive end index to end the subsequence.
926
<DT><B>Returns:</B><DD>a String containing the subsequence.
927
<DT><B>Throws:</B>
928
<DD><CODE>java.lang.StringIndexOutOfBoundsException</CODE> - if <code>start</code> is negative, greater than <code>end</code> or if <code>end</code> is greater
929
            than the current <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#length()"><CODE>length()</CODE></A>.</DL>
930
</DD>
931
</DL>
932
<HR>
933
 
934
<A NAME="toString()"><!-- --></A><H3>
935
toString</H3>
936
<PRE>
937
public java.lang.String <B>toString</B>()</PRE>
938
<DL>
939
<DD>Returns the current String representation.
940
<P>
941
<DD><DL>
942
<DT><B>Specified by:</B><DD><CODE>toString</CODE> in interface <CODE>java.lang.CharSequence</CODE><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
943
</DD>
944
<DD><DL>
945
 
946
<DT><B>Returns:</B><DD>a String containing the characters in this instance.</DL>
947
</DD>
948
</DL>
949
<HR>
950
 
951
<A NAME="subSequence(int, int)"><!-- --></A><H3>
952
subSequence</H3>
953
<PRE>
954
public java.lang.CharSequence <B>subSequence</B>(int&nbsp;start,
955
                                          int&nbsp;end)</PRE>
956
<DL>
957
<DD>Returns a <code>CharSequence</code> of the subsequence from the <code>start</code> index to the <code>end</code> index.
958
<P>
959
<DD><DL>
960
<DT><B>Specified by:</B><DD><CODE>subSequence</CODE> in interface <CODE>java.lang.CharSequence</CODE></DL>
961
</DD>
962
<DD><DL>
963
<DT><B>Parameters:</B><DD><CODE>start</CODE> - the inclusive start index to begin the subsequence.<DD><CODE>end</CODE> - the exclusive end index to end the subsequence.
964
<DT><B>Returns:</B><DD>a CharSequence containing the subsequence.
965
<DT><B>Throws:</B>
966
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - if <code>start</code> is negative, greater than <code>end</code> or if <code>end</code> is greater than
967
            the current <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#length()"><CODE>length()</CODE></A>.<DT><B>Since:</B></DT>
968
  <DD>1.4</DD>
969
</DL>
970
</DD>
971
</DL>
972
<HR>
973
 
974
<A NAME="indexOf(java.lang.String)"><!-- --></A><H3>
975
indexOf</H3>
976
<PRE>
977
public int <B>indexOf</B>(java.lang.String&nbsp;string)</PRE>
978
<DL>
979
<DD>Searches for the first index of the specified character. The search for the character starts at the beginning and moves
980
 towards the end.
981
<P>
982
<DD><DL>
983
</DL>
984
</DD>
985
<DD><DL>
986
<DT><B>Parameters:</B><DD><CODE>string</CODE> - the string to find.
987
<DT><B>Returns:</B><DD>the index of the specified character, -1 if the character isn't found.<DT><B>Since:</B></DT>
988
  <DD>1.4</DD>
989
<DT><B>See Also:</B><DD><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#lastIndexOf(java.lang.String)"><CODE>lastIndexOf(String)</CODE></A></DL>
990
</DD>
991
</DL>
992
<HR>
993
 
994
<A NAME="indexOf(java.lang.String, int)"><!-- --></A><H3>
995
indexOf</H3>
996
<PRE>
997
public int <B>indexOf</B>(java.lang.String&nbsp;subString,
998
                   int&nbsp;start)</PRE>
999
<DL>
1000
<DD>Searches for the index of the specified character. The search for the character starts at the specified offset and moves
1001
 towards the end.
1002
<P>
1003
<DD><DL>
1004
</DL>
1005
</DD>
1006
<DD><DL>
1007
<DT><B>Parameters:</B><DD><CODE>subString</CODE> - the string to find.<DD><CODE>start</CODE> - the starting offset.
1008
<DT><B>Returns:</B><DD>the index of the specified character, -1 if the character isn't found<DT><B>Since:</B></DT>
1009
  <DD>1.4</DD>
1010
<DT><B>See Also:</B><DD><A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#lastIndexOf(java.lang.String, int)"><CODE>lastIndexOf(String,int)</CODE></A></DL>
1011
</DD>
1012
</DL>
1013
<HR>
1014
 
1015
<A NAME="lastIndexOf(java.lang.String)"><!-- --></A><H3>
1016
lastIndexOf</H3>
1017
<PRE>
1018
public int <B>lastIndexOf</B>(java.lang.String&nbsp;string)</PRE>
1019
<DL>
1020
<DD>Searches for the last index of the specified character. The search for the character starts at the end and moves towards the
1021
 beginning.
1022
<P>
1023
<DD><DL>
1024
</DL>
1025
</DD>
1026
<DD><DL>
1027
<DT><B>Parameters:</B><DD><CODE>string</CODE> - the string to find.
1028
<DT><B>Returns:</B><DD>the index of the specified character, -1 if the character isn't found.
1029
<DT><B>Throws:</B>
1030
<DD><CODE>java.lang.NullPointerException</CODE> - if <code>string</code> is <code>null</code>.<DT><B>Since:</B></DT>
1031
  <DD>1.4</DD>
1032
<DT><B>See Also:</B><DD><CODE>String.lastIndexOf(java.lang.String)</CODE></DL>
1033
</DD>
1034
</DL>
1035
<HR>
1036
 
1037
<A NAME="lastIndexOf(java.lang.String, int)"><!-- --></A><H3>
1038
lastIndexOf</H3>
1039
<PRE>
1040
public int <B>lastIndexOf</B>(java.lang.String&nbsp;subString,
1041
                       int&nbsp;start)</PRE>
1042
<DL>
1043
<DD>Searches for the index of the specified character. The search for the character starts at the specified offset and moves
1044
 towards the beginning.
1045
<P>
1046
<DD><DL>
1047
</DL>
1048
</DD>
1049
<DD><DL>
1050
<DT><B>Parameters:</B><DD><CODE>subString</CODE> - the string to find.<DD><CODE>start</CODE> - the starting offset.
1051
<DT><B>Returns:</B><DD>the index of the specified character, -1 if the character isn't found.
1052
<DT><B>Throws:</B>
1053
<DD><CODE>java.lang.NullPointerException</CODE> - if <code>subString</code> is <code>null</code>.<DT><B>Since:</B></DT>
1054
  <DD>1.4</DD>
1055
<DT><B>See Also:</B><DD><CODE>String.lastIndexOf(String,int)</CODE></DL>
1056
</DD>
1057
</DL>
1058
<HR>
1059
 
1060
<A NAME="trimToSize()"><!-- --></A><H3>
1061
trimToSize</H3>
1062
<PRE>
1063
public void <B>trimToSize</B>()</PRE>
1064
<DL>
1065
<DD>Trims off any extra capacity beyond the current length. Note, this method is NOT guaranteed to change the capacity of this
1066
 object.
1067
<P>
1068
<DD><DL>
1069
</DL>
1070
</DD>
1071
<DD><DL>
1072
<DT><B>Since:</B></DT>
1073
  <DD>1.5</DD>
1074
</DL>
1075
</DD>
1076
</DL>
1077
<HR>
1078
 
1079
<A NAME="codePointAt(int)"><!-- --></A><H3>
1080
codePointAt</H3>
1081
<PRE>
1082
public int <B>codePointAt</B>(int&nbsp;index)</PRE>
1083
<DL>
1084
<DD>Retrieves the Unicode code point value at the <code>index</code>.
1085
<P>
1086
<DD><DL>
1087
</DL>
1088
</DD>
1089
<DD><DL>
1090
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index to the <code>char</code> code unit.
1091
<DT><B>Returns:</B><DD>the Unicode code point value.
1092
<DT><B>Throws:</B>
1093
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - if <code>index</code> is negative or greater than or equal to <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#length()"><CODE>length()</CODE></A>.<DT><B>Since:</B></DT>
1094
  <DD>1.5</DD>
1095
<DT><B>See Also:</B><DD><CODE>Character</CODE>,
1096
<CODE>Character.codePointAt(char[], int, int)</CODE></DL>
1097
</DD>
1098
</DL>
1099
<HR>
1100
 
1101
<A NAME="codePointBefore(int)"><!-- --></A><H3>
1102
codePointBefore</H3>
1103
<PRE>
1104
public int <B>codePointBefore</B>(int&nbsp;index)</PRE>
1105
<DL>
1106
<DD>Retrieves the Unicode code point value that precedes the <code>index</code>.
1107
<P>
1108
<DD><DL>
1109
</DL>
1110
</DD>
1111
<DD><DL>
1112
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index to the <code>char</code> code unit within this object.
1113
<DT><B>Returns:</B><DD>the Unicode code point value.
1114
<DT><B>Throws:</B>
1115
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - if <code>index</code> is less than 1 or greater than <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#length()"><CODE>length()</CODE></A>.<DT><B>Since:</B></DT>
1116
  <DD>1.5</DD>
1117
<DT><B>See Also:</B><DD><CODE>Character</CODE>,
1118
<CODE>Character.codePointBefore(char[], int, int)</CODE></DL>
1119
</DD>
1120
</DL>
1121
<HR>
1122
 
1123
<A NAME="codePointCount(int, int)"><!-- --></A><H3>
1124
codePointCount</H3>
1125
<PRE>
1126
public int <B>codePointCount</B>(int&nbsp;beginIndex,
1127
                          int&nbsp;endIndex)</PRE>
1128
<DL>
1129
<DD>Calculates the number of Unicode code points between <code>beginIndex</code> and <code>endIndex</code>.
1130
<P>
1131
<DD><DL>
1132
</DL>
1133
</DD>
1134
<DD><DL>
1135
<DT><B>Parameters:</B><DD><CODE>beginIndex</CODE> - the inclusive beginning index of the subsequence.<DD><CODE>endIndex</CODE> - the exclusive end index of the subsequence.
1136
<DT><B>Returns:</B><DD>the number of Unicode code points in the subsequence.
1137
<DT><B>Throws:</B>
1138
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - if <code>beginIndex</code> is negative or greater than <code>endIndex</code> or <code>endIndex</code> is
1139
            greater than <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#length()"><CODE>length()</CODE></A>.<DT><B>Since:</B></DT>
1140
  <DD>1.5</DD>
1141
<DT><B>See Also:</B><DD><CODE>Character</CODE>,
1142
<CODE>Character.codePointCount(char[], int, int)</CODE></DL>
1143
</DD>
1144
</DL>
1145
<HR>
1146
 
1147
<A NAME="offsetByCodePoints(int, int)"><!-- --></A><H3>
1148
offsetByCodePoints</H3>
1149
<PRE>
1150
public int <B>offsetByCodePoints</B>(int&nbsp;index,
1151
                              int&nbsp;codePointOffset)</PRE>
1152
<DL>
1153
<DD>Returns the index that is offset <code>codePointOffset</code> code points from <code>index</code>.
1154
<P>
1155
<DD><DL>
1156
</DL>
1157
</DD>
1158
<DD><DL>
1159
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index to calculate the offset from.<DD><CODE>codePointOffset</CODE> - the number of code points to count.
1160
<DT><B>Returns:</B><DD>the index that is <code>codePointOffset</code> code points away from index.
1161
<DT><B>Throws:</B>
1162
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - if <code>index</code> is negative or greater than <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html#length()"><CODE>length()</CODE></A> or if there aren't enough
1163
            code points before or after <code>index</code> to match <code>codePointOffset</code>.<DT><B>Since:</B></DT>
1164
  <DD>1.5</DD>
1165
<DT><B>See Also:</B><DD><CODE>Character</CODE>,
1166
<CODE>Character.offsetByCodePoints(char[], int, int, int, int)</CODE></DL>
1167
</DD>
1168
</DL>
1169
<HR>
1170
 
1171
<A NAME="append(boolean)"><!-- --></A><H3>
1172
append</H3>
1173
<PRE>
1174
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>append</B>(boolean&nbsp;b)</PRE>
1175
<DL>
1176
<DD>Appends the string representation of the specified <code>boolean</code> value. The <code>boolean</code> value is converted to a String
1177
 according to the rule defined by <CODE>String.valueOf(boolean)</CODE>.
1178
<P>
1179
<DD><DL>
1180
</DL>
1181
</DD>
1182
<DD><DL>
1183
<DT><B>Parameters:</B><DD><CODE>b</CODE> - the <code>boolean</code> value to append.
1184
<DT><B>Returns:</B><DD>this builder.<DT><B>See Also:</B><DD><CODE>String.valueOf(boolean)</CODE></DL>
1185
</DD>
1186
</DL>
1187
<HR>
1188
 
1189
<A NAME="append(char)"><!-- --></A><H3>
1190
append</H3>
1191
<PRE>
1192
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>append</B>(char&nbsp;c)</PRE>
1193
<DL>
1194
<DD>Appends the string representation of the specified <code>char</code> value. The <code>char</code> value is converted to a string
1195
 according to the rule defined by <CODE>String.valueOf(char)</CODE>.
1196
<P>
1197
<DD><DL>
1198
<DT><B>Specified by:</B><DD><CODE>append</CODE> in interface <CODE>java.lang.Appendable</CODE></DL>
1199
</DD>
1200
<DD><DL>
1201
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the <code>char</code> value to append.
1202
<DT><B>Returns:</B><DD>this builder.<DT><B>See Also:</B><DD><CODE>String.valueOf(char)</CODE></DL>
1203
</DD>
1204
</DL>
1205
<HR>
1206
 
1207
<A NAME="append(int)"><!-- --></A><H3>
1208
append</H3>
1209
<PRE>
1210
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>append</B>(int&nbsp;i)</PRE>
1211
<DL>
1212
<DD>Appends the string representation of the specified <code>int</code> value. The <code>int</code> value is converted to a string
1213
 according to the rule defined by <CODE>String.valueOf(int)</CODE>.
1214
<P>
1215
<DD><DL>
1216
</DL>
1217
</DD>
1218
<DD><DL>
1219
<DT><B>Parameters:</B><DD><CODE>i</CODE> - the <code>int</code> value to append.
1220
<DT><B>Returns:</B><DD>this builder.<DT><B>See Also:</B><DD><CODE>String.valueOf(int)</CODE></DL>
1221
</DD>
1222
</DL>
1223
<HR>
1224
 
1225
<A NAME="append(long)"><!-- --></A><H3>
1226
append</H3>
1227
<PRE>
1228
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>append</B>(long&nbsp;lng)</PRE>
1229
<DL>
1230
<DD>Appends the string representation of the specified <code>long</code> value. The <code>long</code> value is converted to a string
1231
 according to the rule defined by <CODE>String.valueOf(long)</CODE>.
1232
<P>
1233
<DD><DL>
1234
</DL>
1235
</DD>
1236
<DD><DL>
1237
<DT><B>Parameters:</B><DD><CODE>lng</CODE> - the <code>long</code> value.
1238
<DT><B>Returns:</B><DD>this builder.<DT><B>See Also:</B><DD><CODE>String.valueOf(long)</CODE></DL>
1239
</DD>
1240
</DL>
1241
<HR>
1242
 
1243
<A NAME="append(float)"><!-- --></A><H3>
1244
append</H3>
1245
<PRE>
1246
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>append</B>(float&nbsp;f)</PRE>
1247
<DL>
1248
<DD>Appends the string representation of the specified <code>float</code> value. The <code>float</code> value is converted to a string
1249
 according to the rule defined by <CODE>String.valueOf(float)</CODE>.
1250
<P>
1251
<DD><DL>
1252
</DL>
1253
</DD>
1254
<DD><DL>
1255
<DT><B>Parameters:</B><DD><CODE>f</CODE> - the <code>float</code> value to append.
1256
<DT><B>Returns:</B><DD>this builder.<DT><B>See Also:</B><DD><CODE>String.valueOf(float)</CODE></DL>
1257
</DD>
1258
</DL>
1259
<HR>
1260
 
1261
<A NAME="append(double)"><!-- --></A><H3>
1262
append</H3>
1263
<PRE>
1264
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>append</B>(double&nbsp;d)</PRE>
1265
<DL>
1266
<DD>Appends the string representation of the specified <code>double</code> value. The <code>double</code> value is converted to a string
1267
 according to the rule defined by <CODE>String.valueOf(double)</CODE>.
1268
<P>
1269
<DD><DL>
1270
</DL>
1271
</DD>
1272
<DD><DL>
1273
<DT><B>Parameters:</B><DD><CODE>d</CODE> - the <code>double</code> value to append.
1274
<DT><B>Returns:</B><DD>this builder.<DT><B>See Also:</B><DD><CODE>String.valueOf(double)</CODE></DL>
1275
</DD>
1276
</DL>
1277
<HR>
1278
 
1279
<A NAME="append(java.lang.Object)"><!-- --></A><H3>
1280
append</H3>
1281
<PRE>
1282
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>append</B>(java.lang.Object&nbsp;obj)</PRE>
1283
<DL>
1284
<DD>Appends the string representation of the specified <code>Object</code>. The <code>Object</code> value is converted to a string
1285
 according to the rule defined by <CODE>String.valueOf(Object)</CODE>.
1286
<P>
1287
<DD><DL>
1288
</DL>
1289
</DD>
1290
<DD><DL>
1291
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - the <code>Object</code> to append.
1292
<DT><B>Returns:</B><DD>this builder.<DT><B>See Also:</B><DD><CODE>String.valueOf(Object)</CODE></DL>
1293
</DD>
1294
</DL>
1295
<HR>
1296
 
1297
<A NAME="append(java.lang.String)"><!-- --></A><H3>
1298
append</H3>
1299
<PRE>
1300
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>append</B>(java.lang.String&nbsp;str)</PRE>
1301
<DL>
1302
<DD>Appends the contents of the specified string. If the string is <code>null</code>, then the string <code>"null"</code> is appended.
1303
<P>
1304
<DD><DL>
1305
</DL>
1306
</DD>
1307
<DD><DL>
1308
<DT><B>Parameters:</B><DD><CODE>str</CODE> - the string to append.
1309
<DT><B>Returns:</B><DD>this builder.</DL>
1310
</DD>
1311
</DL>
1312
<HR>
1313
 
1314
<A NAME="append(char[])"><!-- --></A><H3>
1315
append</H3>
1316
<PRE>
1317
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>append</B>(char[]&nbsp;ch)</PRE>
1318
<DL>
1319
<DD>Appends the string representation of the specified <code>char[]</code>. The <code>char[]</code> is converted to a string according to
1320
 the rule defined by <CODE>String.valueOf(char[])</CODE>.
1321
<P>
1322
<DD><DL>
1323
</DL>
1324
</DD>
1325
<DD><DL>
1326
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - the <code>char[]</code> to append..
1327
<DT><B>Returns:</B><DD>this builder.<DT><B>See Also:</B><DD><CODE>String.valueOf(char[])</CODE></DL>
1328
</DD>
1329
</DL>
1330
<HR>
1331
 
1332
<A NAME="append(char[], int, int)"><!-- --></A><H3>
1333
append</H3>
1334
<PRE>
1335
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>append</B>(char[]&nbsp;str,
1336
                            int&nbsp;offset,
1337
                            int&nbsp;len)</PRE>
1338
<DL>
1339
<DD>Appends the string representation of the specified subset of the <code>char[]</code>. The <code>char[]</code> value is converted to a
1340
 String according to the rule defined by <CODE>String.valueOf(char[],int,int)</CODE>.
1341
<P>
1342
<DD><DL>
1343
</DL>
1344
</DD>
1345
<DD><DL>
1346
<DT><B>Parameters:</B><DD><CODE>str</CODE> - the <code>char[]</code> to append.<DD><CODE>offset</CODE> - the inclusive offset index.<DD><CODE>len</CODE> - the number of characters.
1347
<DT><B>Returns:</B><DD>this builder.
1348
<DT><B>Throws:</B>
1349
<DD><CODE>java.lang.ArrayIndexOutOfBoundsException</CODE> - if <code>offset</code> and <code>len</code> do not specify a valid subsequence.<DT><B>See Also:</B><DD><CODE>String.valueOf(char[],int,int)</CODE></DL>
1350
</DD>
1351
</DL>
1352
<HR>
1353
 
1354
<A NAME="append(java.lang.CharSequence)"><!-- --></A><H3>
1355
append</H3>
1356
<PRE>
1357
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>append</B>(java.lang.CharSequence&nbsp;csq)</PRE>
1358
<DL>
1359
<DD>Appends the string representation of the specified <code>CharSequence</code>. If the <code>CharSequence</code> is <code>null</code>, then
1360
 the string <code>"null"</code> is appended.
1361
<P>
1362
<DD><DL>
1363
<DT><B>Specified by:</B><DD><CODE>append</CODE> in interface <CODE>java.lang.Appendable</CODE></DL>
1364
</DD>
1365
<DD><DL>
1366
<DT><B>Parameters:</B><DD><CODE>csq</CODE> - the <code>CharSequence</code> to append.
1367
<DT><B>Returns:</B><DD>this builder.</DL>
1368
</DD>
1369
</DL>
1370
<HR>
1371
 
1372
<A NAME="append(java.lang.CharSequence, int, int)"><!-- --></A><H3>
1373
append</H3>
1374
<PRE>
1375
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>append</B>(java.lang.CharSequence&nbsp;csq,
1376
                            int&nbsp;start,
1377
                            int&nbsp;end)</PRE>
1378
<DL>
1379
<DD>Appends the string representation of the specified subsequence of the <code>CharSequence</code>. If the <code>CharSequence</code> is
1380
 <code>null</code>, then the string <code>"null"</code> is used to extract the subsequence from.
1381
<P>
1382
<DD><DL>
1383
<DT><B>Specified by:</B><DD><CODE>append</CODE> in interface <CODE>java.lang.Appendable</CODE></DL>
1384
</DD>
1385
<DD><DL>
1386
<DT><B>Parameters:</B><DD><CODE>csq</CODE> - the <code>CharSequence</code> to append.<DD><CODE>start</CODE> - the beginning index.<DD><CODE>end</CODE> - the ending index.
1387
<DT><B>Returns:</B><DD>this builder.
1388
<DT><B>Throws:</B>
1389
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - if <code>start</code> or <code>end</code> are negative, <code>start</code> is greater than <code>end</code> or
1390
            <code>end</code> is greater than the length of <code>csq</code>.</DL>
1391
</DD>
1392
</DL>
1393
<HR>
1394
 
1395
<A NAME="appendCodePoint(int)"><!-- --></A><H3>
1396
appendCodePoint</H3>
1397
<PRE>
1398
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>appendCodePoint</B>(int&nbsp;codePoint)</PRE>
1399
<DL>
1400
<DD>Appends the encoded Unicode code point. The code point is converted to a <code>char[]</code> as defined by
1401
 <CODE>Character.toChars(int)</CODE>.
1402
<P>
1403
<DD><DL>
1404
</DL>
1405
</DD>
1406
<DD><DL>
1407
<DT><B>Parameters:</B><DD><CODE>codePoint</CODE> - the Unicode code point to encode and append.
1408
<DT><B>Returns:</B><DD>this builder.<DT><B>See Also:</B><DD><CODE>Character.toChars(int)</CODE></DL>
1409
</DD>
1410
</DL>
1411
<HR>
1412
 
1413
<A NAME="delete(int, int)"><!-- --></A><H3>
1414
delete</H3>
1415
<PRE>
1416
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>delete</B>(int&nbsp;start,
1417
                            int&nbsp;end)</PRE>
1418
<DL>
1419
<DD>Deletes a sequence of characters specified by <code>start</code> and <code>end</code>. Shifts any remaining characters to the left.
1420
<P>
1421
<DD><DL>
1422
</DL>
1423
</DD>
1424
<DD><DL>
1425
<DT><B>Parameters:</B><DD><CODE>start</CODE> - the inclusive start index.<DD><CODE>end</CODE> - the exclusive end index.
1426
<DT><B>Returns:</B><DD>this builder.
1427
<DT><B>Throws:</B>
1428
<DD><CODE>java.lang.StringIndexOutOfBoundsException</CODE> - if <code>start</code> is less than zero, greater than the current length or greater than
1429
            <code>end</code>.</DL>
1430
</DD>
1431
</DL>
1432
<HR>
1433
 
1434
<A NAME="deleteCharAt(int)"><!-- --></A><H3>
1435
deleteCharAt</H3>
1436
<PRE>
1437
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>deleteCharAt</B>(int&nbsp;index)</PRE>
1438
<DL>
1439
<DD>Deletes the character at the specified index. shifts any remaining characters to the left.
1440
<P>
1441
<DD><DL>
1442
</DL>
1443
</DD>
1444
<DD><DL>
1445
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the character to delete.
1446
<DT><B>Returns:</B><DD>this builder.
1447
<DT><B>Throws:</B>
1448
<DD><CODE>java.lang.StringIndexOutOfBoundsException</CODE> - if <code>index</code> is less than zero or is greater than or equal to the current
1449
            length.</DL>
1450
</DD>
1451
</DL>
1452
<HR>
1453
 
1454
<A NAME="insert(int, boolean)"><!-- --></A><H3>
1455
insert</H3>
1456
<PRE>
1457
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>insert</B>(int&nbsp;offset,
1458
                            boolean&nbsp;b)</PRE>
1459
<DL>
1460
<DD>Inserts the string representation of the specified <code>boolean</code> value at the specified <code>offset</code>. The
1461
 <code>boolean</code> value is converted to a string according to the rule defined by <CODE>String.valueOf(boolean)</CODE>.
1462
<P>
1463
<DD><DL>
1464
</DL>
1465
</DD>
1466
<DD><DL>
1467
<DT><B>Parameters:</B><DD><CODE>offset</CODE> - the index to insert at.<DD><CODE>b</CODE> - the <code>boolean</code> value to insert.
1468
<DT><B>Returns:</B><DD>this builder.
1469
<DT><B>Throws:</B>
1470
<DD><CODE>java.lang.StringIndexOutOfBoundsException</CODE> - if <code>offset</code> is negative or greater than the current <code>length</code>.<DT><B>See Also:</B><DD><CODE>String.valueOf(boolean)</CODE></DL>
1471
</DD>
1472
</DL>
1473
<HR>
1474
 
1475
<A NAME="insert(int, char)"><!-- --></A><H3>
1476
insert</H3>
1477
<PRE>
1478
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>insert</B>(int&nbsp;offset,
1479
                            char&nbsp;c)</PRE>
1480
<DL>
1481
<DD>Inserts the string representation of the specified <code>char</code> value at the specified <code>offset</code>. The <code>char</code>
1482
 value is converted to a string according to the rule defined by <CODE>String.valueOf(char)</CODE>.
1483
<P>
1484
<DD><DL>
1485
</DL>
1486
</DD>
1487
<DD><DL>
1488
<DT><B>Parameters:</B><DD><CODE>offset</CODE> - the index to insert at.<DD><CODE>c</CODE> - the <code>char</code> value to insert.
1489
<DT><B>Returns:</B><DD>this builder.
1490
<DT><B>Throws:</B>
1491
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - if <code>offset</code> is negative or greater than the current <code>length()</code>.<DT><B>See Also:</B><DD><CODE>String.valueOf(char)</CODE></DL>
1492
</DD>
1493
</DL>
1494
<HR>
1495
 
1496
<A NAME="insert(int, int)"><!-- --></A><H3>
1497
insert</H3>
1498
<PRE>
1499
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>insert</B>(int&nbsp;offset,
1500
                            int&nbsp;i)</PRE>
1501
<DL>
1502
<DD>Inserts the string representation of the specified <code>int</code> value at the specified <code>offset</code>. The <code>int</code> value
1503
 is converted to a String according to the rule defined by <CODE>String.valueOf(int)</CODE>.
1504
<P>
1505
<DD><DL>
1506
</DL>
1507
</DD>
1508
<DD><DL>
1509
<DT><B>Parameters:</B><DD><CODE>offset</CODE> - the index to insert at.<DD><CODE>i</CODE> - the <code>int</code> value to insert.
1510
<DT><B>Returns:</B><DD>this builder.
1511
<DT><B>Throws:</B>
1512
<DD><CODE>java.lang.StringIndexOutOfBoundsException</CODE> - if <code>offset</code> is negative or greater than the current <code>length()</code>.<DT><B>See Also:</B><DD><CODE>String.valueOf(int)</CODE></DL>
1513
</DD>
1514
</DL>
1515
<HR>
1516
 
1517
<A NAME="insert(int, long)"><!-- --></A><H3>
1518
insert</H3>
1519
<PRE>
1520
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>insert</B>(int&nbsp;offset,
1521
                            long&nbsp;l)</PRE>
1522
<DL>
1523
<DD>Inserts the string representation of the specified <code>long</code> value at the specified <code>offset</code>. The <code>long</code>
1524
 value is converted to a String according to the rule defined by <CODE>String.valueOf(long)</CODE>.
1525
<P>
1526
<DD><DL>
1527
</DL>
1528
</DD>
1529
<DD><DL>
1530
<DT><B>Parameters:</B><DD><CODE>offset</CODE> - the index to insert at.<DD><CODE>l</CODE> - the <code>long</code> value to insert.
1531
<DT><B>Returns:</B><DD>this builder.
1532
<DT><B>Throws:</B>
1533
<DD><CODE>java.lang.StringIndexOutOfBoundsException</CODE> - if <code>offset</code> is negative or greater than the current {code length()}.<DT><B>See Also:</B><DD><CODE>String.valueOf(long)</CODE></DL>
1534
</DD>
1535
</DL>
1536
<HR>
1537
 
1538
<A NAME="insert(int, float)"><!-- --></A><H3>
1539
insert</H3>
1540
<PRE>
1541
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>insert</B>(int&nbsp;offset,
1542
                            float&nbsp;f)</PRE>
1543
<DL>
1544
<DD>Inserts the string representation of the specified <code>float</code> value at the specified <code>offset</code>. The <code>float</code>
1545
 value is converted to a string according to the rule defined by <CODE>String.valueOf(float)</CODE>.
1546
<P>
1547
<DD><DL>
1548
</DL>
1549
</DD>
1550
<DD><DL>
1551
<DT><B>Parameters:</B><DD><CODE>offset</CODE> - the index to insert at.<DD><CODE>f</CODE> - the <code>float</code> value to insert.
1552
<DT><B>Returns:</B><DD>this builder.
1553
<DT><B>Throws:</B>
1554
<DD><CODE>java.lang.StringIndexOutOfBoundsException</CODE> - if <code>offset</code> is negative or greater than the current <code>length()</code>.<DT><B>See Also:</B><DD><CODE>String.valueOf(float)</CODE></DL>
1555
</DD>
1556
</DL>
1557
<HR>
1558
 
1559
<A NAME="insert(int, double)"><!-- --></A><H3>
1560
insert</H3>
1561
<PRE>
1562
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>insert</B>(int&nbsp;offset,
1563
                            double&nbsp;d)</PRE>
1564
<DL>
1565
<DD>Inserts the string representation of the specified <code>double</code> value at the specified <code>offset</code>. The <code>double</code>
1566
 value is converted to a String according to the rule defined by <CODE>String.valueOf(double)</CODE>.
1567
<P>
1568
<DD><DL>
1569
</DL>
1570
</DD>
1571
<DD><DL>
1572
<DT><B>Parameters:</B><DD><CODE>offset</CODE> - the index to insert at.<DD><CODE>d</CODE> - the <code>double</code> value to insert.
1573
<DT><B>Returns:</B><DD>this builder.
1574
<DT><B>Throws:</B>
1575
<DD><CODE>java.lang.StringIndexOutOfBoundsException</CODE> - if <code>offset</code> is negative or greater than the current <code>length()</code>.<DT><B>See Also:</B><DD><CODE>String.valueOf(double)</CODE></DL>
1576
</DD>
1577
</DL>
1578
<HR>
1579
 
1580
<A NAME="insert(int, java.lang.Object)"><!-- --></A><H3>
1581
insert</H3>
1582
<PRE>
1583
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>insert</B>(int&nbsp;offset,
1584
                            java.lang.Object&nbsp;obj)</PRE>
1585
<DL>
1586
<DD>Inserts the string representation of the specified <code>Object</code> at the specified <code>offset</code>. The <code>Object</code> value
1587
 is converted to a String according to the rule defined by <CODE>String.valueOf(Object)</CODE>.
1588
<P>
1589
<DD><DL>
1590
</DL>
1591
</DD>
1592
<DD><DL>
1593
<DT><B>Parameters:</B><DD><CODE>offset</CODE> - the index to insert at.<DD><CODE>obj</CODE> - the <code>Object</code> to insert.
1594
<DT><B>Returns:</B><DD>this builder.
1595
<DT><B>Throws:</B>
1596
<DD><CODE>java.lang.StringIndexOutOfBoundsException</CODE> - if <code>offset</code> is negative or greater than the current <code>length()</code>.<DT><B>See Also:</B><DD><CODE>String.valueOf(Object)</CODE></DL>
1597
</DD>
1598
</DL>
1599
<HR>
1600
 
1601
<A NAME="insert(int, java.lang.String)"><!-- --></A><H3>
1602
insert</H3>
1603
<PRE>
1604
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>insert</B>(int&nbsp;offset,
1605
                            java.lang.String&nbsp;str)</PRE>
1606
<DL>
1607
<DD>Inserts the specified string at the specified <code>offset</code>. If the specified string is null, then the String
1608
 <code>"null"</code> is inserted.
1609
<P>
1610
<DD><DL>
1611
</DL>
1612
</DD>
1613
<DD><DL>
1614
<DT><B>Parameters:</B><DD><CODE>offset</CODE> - the index to insert at.<DD><CODE>str</CODE> - the <code>String</code> to insert.
1615
<DT><B>Returns:</B><DD>this builder.
1616
<DT><B>Throws:</B>
1617
<DD><CODE>java.lang.StringIndexOutOfBoundsException</CODE> - if <code>offset</code> is negative or greater than the current <code>length()</code>.</DL>
1618
</DD>
1619
</DL>
1620
<HR>
1621
 
1622
<A NAME="insert(int, char[])"><!-- --></A><H3>
1623
insert</H3>
1624
<PRE>
1625
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>insert</B>(int&nbsp;offset,
1626
                            char[]&nbsp;ch)</PRE>
1627
<DL>
1628
<DD>Inserts the string representation of the specified <code>char[]</code> at the specified <code>offset</code>. The <code>char[]</code> value
1629
 is converted to a String according to the rule defined by <CODE>String.valueOf(char[])</CODE>.
1630
<P>
1631
<DD><DL>
1632
</DL>
1633
</DD>
1634
<DD><DL>
1635
<DT><B>Parameters:</B><DD><CODE>offset</CODE> - the index to insert at.<DD><CODE>ch</CODE> - the <code>char[]</code> to insert.
1636
<DT><B>Returns:</B><DD>this builder.
1637
<DT><B>Throws:</B>
1638
<DD><CODE>java.lang.StringIndexOutOfBoundsException</CODE> - if <code>offset</code> is negative or greater than the current <code>length()</code>.<DT><B>See Also:</B><DD><CODE>String.valueOf(char[])</CODE></DL>
1639
</DD>
1640
</DL>
1641
<HR>
1642
 
1643
<A NAME="insert(int, char[], int, int)"><!-- --></A><H3>
1644
insert</H3>
1645
<PRE>
1646
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>insert</B>(int&nbsp;offset,
1647
                            char[]&nbsp;str,
1648
                            int&nbsp;strOffset,
1649
                            int&nbsp;strLen)</PRE>
1650
<DL>
1651
<DD>Inserts the string representation of the specified subsequence of the <code>char[]</code> at the specified <code>offset</code>. The
1652
 <code>char[]</code> value is converted to a String according to the rule defined by <CODE>String.valueOf(char[],int,int)</CODE>.
1653
<P>
1654
<DD><DL>
1655
</DL>
1656
</DD>
1657
<DD><DL>
1658
<DT><B>Parameters:</B><DD><CODE>offset</CODE> - the index to insert at.<DD><CODE>str</CODE> - the <code>char[]</code> to insert.<DD><CODE>strOffset</CODE> - the inclusive index.<DD><CODE>strLen</CODE> - the number of characters.
1659
<DT><B>Returns:</B><DD>this builder.
1660
<DT><B>Throws:</B>
1661
<DD><CODE>java.lang.StringIndexOutOfBoundsException</CODE> - if <code>offset</code> is negative or greater than the current <code>length()</code>, or
1662
            <code>strOffset</code> and <code>strLen</code> do not specify a valid subsequence.<DT><B>See Also:</B><DD><CODE>String.valueOf(char[],int,int)</CODE></DL>
1663
</DD>
1664
</DL>
1665
<HR>
1666
 
1667
<A NAME="insert(int, java.lang.CharSequence)"><!-- --></A><H3>
1668
insert</H3>
1669
<PRE>
1670
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>insert</B>(int&nbsp;offset,
1671
                            java.lang.CharSequence&nbsp;s)</PRE>
1672
<DL>
1673
<DD>Inserts the string representation of the specified <code>CharSequence</code> at the specified <code>offset</code>. The
1674
 <code>CharSequence</code> is converted to a String as defined by <CODE>CharSequence.toString()</CODE>. If <code>s</code> is <code>null</code>,
1675
 then the String <code>"null"</code> is inserted.
1676
<P>
1677
<DD><DL>
1678
</DL>
1679
</DD>
1680
<DD><DL>
1681
<DT><B>Parameters:</B><DD><CODE>offset</CODE> - the index to insert at.<DD><CODE>s</CODE> - the <code>CharSequence</code> to insert.
1682
<DT><B>Returns:</B><DD>this builder.
1683
<DT><B>Throws:</B>
1684
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - if <code>offset</code> is negative or greater than the current <code>length()</code>.<DT><B>See Also:</B><DD><CODE>CharSequence.toString()</CODE></DL>
1685
</DD>
1686
</DL>
1687
<HR>
1688
 
1689
<A NAME="insert(int, java.lang.CharSequence, int, int)"><!-- --></A><H3>
1690
insert</H3>
1691
<PRE>
1692
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>insert</B>(int&nbsp;offset,
1693
                            java.lang.CharSequence&nbsp;s,
1694
                            int&nbsp;start,
1695
                            int&nbsp;end)</PRE>
1696
<DL>
1697
<DD>Inserts the string representation of the specified subsequence of the <code>CharSequence</code> at the specified <code>offset</code>.
1698
 The <code>CharSequence</code> is converted to a String as defined by <CODE>CharSequence.subSequence(int, int)</CODE>. If the
1699
 <code>CharSequence</code> is <code>null</code>, then the string <code>"null"</code> is used to determine the subsequence.
1700
<P>
1701
<DD><DL>
1702
</DL>
1703
</DD>
1704
<DD><DL>
1705
<DT><B>Parameters:</B><DD><CODE>offset</CODE> - the index to insert at.<DD><CODE>s</CODE> - the <code>CharSequence</code> to insert.<DD><CODE>start</CODE> - the start of the subsequence of the character sequence.<DD><CODE>end</CODE> - the end of the subsequence of the character sequence.
1706
<DT><B>Returns:</B><DD>this builder.
1707
<DT><B>Throws:</B>
1708
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - if <code>offset</code> is negative or greater than the current <code>length()</code>, or
1709
            <code>start</code> and <code>end</code> do not specify a valid subsequence.<DT><B>See Also:</B><DD><CODE>CharSequence.subSequence(int, int)</CODE></DL>
1710
</DD>
1711
</DL>
1712
<HR>
1713
 
1714
<A NAME="replace(int, int, java.lang.String)"><!-- --></A><H3>
1715
replace</H3>
1716
<PRE>
1717
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>replace</B>(int&nbsp;start,
1718
                             int&nbsp;end,
1719
                             java.lang.String&nbsp;str)</PRE>
1720
<DL>
1721
<DD>Replaces the specified subsequence in this builder with the specified string.
1722
<P>
1723
<DD><DL>
1724
</DL>
1725
</DD>
1726
<DD><DL>
1727
<DT><B>Parameters:</B><DD><CODE>start</CODE> - the inclusive begin index.<DD><CODE>end</CODE> - the exclusive end index.<DD><CODE>str</CODE> - the replacement string.
1728
<DT><B>Returns:</B><DD>this builder.
1729
<DT><B>Throws:</B>
1730
<DD><CODE>java.lang.StringIndexOutOfBoundsException</CODE> - if <code>start</code> is negative, greater than the current <code>length()</code> or greater
1731
            than <code>end</code>.
1732
<DD><CODE>java.lang.NullPointerException</CODE> - if <code>str</code> is <code>null</code>.</DL>
1733
</DD>
1734
</DL>
1735
<HR>
1736
 
1737
<A NAME="reverse()"><!-- --></A><H3>
1738
reverse</H3>
1739
<PRE>
1740
public <A HREF="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</A> <B>reverse</B>()</PRE>
1741
<DL>
1742
<DD>Reverses the order of characters in this builder.
1743
<P>
1744
<DD><DL>
1745
</DL>
1746
</DD>
1747
<DD><DL>
1748
 
1749
<DT><B>Returns:</B><DD>this buffer.</DL>
1750
</DD>
1751
</DL>
1752
<HR>
1753
 
1754
<A NAME="hashCode()"><!-- --></A><H3>
1755
hashCode</H3>
1756
<PRE>
1757
public int <B>hashCode</B>()</PRE>
1758
<DL>
1759
<DD><DL>
1760
<DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL>
1761
</DD>
1762
<DD><DL>
1763
</DL>
1764
</DD>
1765
</DL>
1766
<HR>
1767
 
1768
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
1769
equals</H3>
1770
<PRE>
1771
public boolean <B>equals</B>(java.lang.Object&nbsp;obj)</PRE>
1772
<DL>
1773
<DD><DL>
1774
<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
1775
</DD>
1776
<DD><DL>
1777
</DL>
1778
</DD>
1779
</DL>
1780
<!-- ========= END OF CLASS DATA ========= -->
1781
<HR>
1782
 
1783
 
1784
<!-- ======= START OF BOTTOM NAVBAR ====== -->
1785
<A NAME="navbar_bottom"><!-- --></A>
1786
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
1787
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
1788
<TR>
1789
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1790
<A NAME="navbar_bottom_firstrow"><!-- --></A>
1791
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
1792
  <TR ALIGN="center" VALIGN="top">
1793
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
1794
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1795
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1796
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/StringBuilder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
1797
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1798
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
1799
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
1800
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
1801
  </TR>
1802
</TABLE>
1803
</TD>
1804
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1805
libgdx API</EM>
1806
</TD>
1807
</TR>
1808
 
1809
<TR>
1810
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1811
&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/SortedIntList.Node.html" title="class in com.badlogic.gdx.utils"><B>PREV CLASS</B></A>&nbsp;
1812
&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/TimeUtils.html" title="class in com.badlogic.gdx.utils"><B>NEXT CLASS</B></A></FONT></TD>
1813
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1814
  <A HREF="../../../../index.html?com/badlogic/gdx/utils/StringBuilder.html" target="_top"><B>FRAMES</B></A>  &nbsp;
1815
&nbsp;<A HREF="StringBuilder.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
1816
&nbsp;<SCRIPT type="text/javascript">
1817
  <!--
1818
  if(window==top) {
1819
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
1820
  }
1821
  //-->
1822
</SCRIPT>
1823
<NOSCRIPT>
1824
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
1825
</NOSCRIPT>
1826
 
1827
 
1828
</FONT></TD>
1829
</TR>
1830
<TR>
1831
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1832
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1833
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1834
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
1835
</TR>
1836
</TABLE>
1837
<A NAME="skip-navbar_bottom"></A>
1838
<!-- ======== END OF BOTTOM NAVBAR ======= -->
1839
 
1840
<HR>
1841
 
1842
                                <div style="font-size:9pt"><i>
1843
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
1844
                                </i></div>
1845
 
1846
</BODY>
1847
</HTML>