mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-08 12:51:51 +09:00
2075 lines
99 KiB
HTML
2075 lines
99 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
<!-- NewPage -->
|
||
<html lang="en">
|
||
<head>
|
||
<!-- Generated by javadoc (1.8.0_101) on Sat Jun 10 08:04:08 CEST 2017 -->
|
||
<title>StringBuilder (libgdx API)</title>
|
||
<meta name="date" content="2017-06-10">
|
||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||
<script type="text/javascript" src="../../../../script.js"></script>
|
||
</head>
|
||
<body>
|
||
<script type="text/javascript"><!--
|
||
try {
|
||
if (location.href.indexOf('is-external=true') == -1) {
|
||
parent.document.title="StringBuilder (libgdx API)";
|
||
}
|
||
}
|
||
catch(err) {
|
||
}
|
||
//-->
|
||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":9,"i49":9,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10};
|
||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||
var altColor = "altColor";
|
||
var rowColor = "rowColor";
|
||
var tableTab = "tableTab";
|
||
var activeTableTab = "activeTableTab";
|
||
</script>
|
||
<noscript>
|
||
<div>JavaScript is disabled on your browser.</div>
|
||
</noscript>
|
||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||
<div class="topNav"><a name="navbar.top">
|
||
<!-- -->
|
||
</a>
|
||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||
<a name="navbar.top.firstrow">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="navList" title="Navigation">
|
||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||
<li><a href="package-summary.html">Package</a></li>
|
||
<li class="navBarCell1Rev">Class</li>
|
||
<li><a href="class-use/StringBuilder.html">Use</a></li>
|
||
<li><a href="package-tree.html">Tree</a></li>
|
||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||
<li><a href="../../../../index-all.html">Index</a></li>
|
||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||
</ul>
|
||
<div class="aboutLanguage">
|
||
libgdx API
|
||
<style>
|
||
body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
|
||
pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
|
||
h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%; font-weight:bold }
|
||
.TableHeadingColor { background:#EEEEFF; }
|
||
a { text-decoration:none }
|
||
a:hover { text-decoration:underline }
|
||
a:link, a:visited { color:blue }
|
||
table { border:0px }
|
||
.TableRowColor td:first-child { border-left:1px solid black }
|
||
.TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
|
||
hr { border:0px; border-bottom:1px solid #333366; }
|
||
</style>
|
||
</div>
|
||
</div>
|
||
<div class="subNav">
|
||
<ul class="navList">
|
||
<li><a href="../../../../com/badlogic/gdx/utils/StreamUtils.OptimizedByteArrayOutputStream.html" title="class in com.badlogic.gdx.utils"><span class="typeNameLink">Prev Class</span></a></li>
|
||
<li><a href="../../../../com/badlogic/gdx/utils/Timer.html" title="class in com.badlogic.gdx.utils"><span class="typeNameLink">Next Class</span></a></li>
|
||
</ul>
|
||
<ul class="navList">
|
||
<li><a href="../../../../index.html?com/badlogic/gdx/utils/StringBuilder.html" target="_top">Frames</a></li>
|
||
<li><a href="StringBuilder.html" target="_top">No Frames</a></li>
|
||
</ul>
|
||
<ul class="navList" id="allclasses_navbar_top">
|
||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||
</ul>
|
||
<div>
|
||
<script type="text/javascript"><!--
|
||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||
if(window==top) {
|
||
allClassesLink.style.display = "block";
|
||
}
|
||
else {
|
||
allClassesLink.style.display = "none";
|
||
}
|
||
//-->
|
||
</script>
|
||
</div>
|
||
<div>
|
||
<ul class="subNavList">
|
||
<li>Summary: </li>
|
||
<li>Nested | </li>
|
||
<li><a href="#field.summary">Field</a> | </li>
|
||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||
<li><a href="#method.summary">Method</a></li>
|
||
</ul>
|
||
<ul class="subNavList">
|
||
<li>Detail: </li>
|
||
<li><a href="#field.detail">Field</a> | </li>
|
||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||
<li><a href="#method.detail">Method</a></li>
|
||
</ul>
|
||
</div>
|
||
<a name="skip.navbar.top">
|
||
<!-- -->
|
||
</a></div>
|
||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||
<!-- ======== START OF CLASS DATA ======== -->
|
||
<div class="header">
|
||
<div class="subTitle">com.badlogic.gdx.utils</div>
|
||
<h2 title="Class StringBuilder" class="title">Class StringBuilder</h2>
|
||
</div>
|
||
<div class="contentContainer">
|
||
<ul class="inheritance">
|
||
<li>java.lang.Object</li>
|
||
<li>
|
||
<ul class="inheritance">
|
||
<li>com.badlogic.gdx.utils.StringBuilder</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<div class="description">
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<dl>
|
||
<dt>All Implemented Interfaces:</dt>
|
||
<dd>java.lang.Appendable, java.lang.CharSequence</dd>
|
||
</dl>
|
||
<hr>
|
||
<br>
|
||
<pre>public class <span class="typeNameLabel">StringBuilder</span>
|
||
extends java.lang.Object
|
||
implements java.lang.Appendable, java.lang.CharSequence</pre>
|
||
<div class="block">A <code>StringBuilder</code> that implements equals and hashcode.</div>
|
||
<dl>
|
||
<dt><span class="seeLabel">See Also:</span></dt>
|
||
<dd><code>CharSequence</code>,
|
||
<code>Appendable</code>,
|
||
<code>StringBuilder</code>,
|
||
<code>String</code></dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div class="summary">
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<!-- =========== FIELD SUMMARY =========== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="field.summary">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Field Summary</h3>
|
||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||
<tr>
|
||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||
<th class="colLast" scope="col">Field and Description</th>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colFirst"><code>char[]</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#chars">chars</a></span></code> </td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colFirst"><code>int</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#length">length</a></span></code> </td>
|
||
</tr>
|
||
</table>
|
||
</li>
|
||
</ul>
|
||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="constructor.summary">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Constructor Summary</h3>
|
||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||
<tr>
|
||
<th class="colOne" scope="col">Constructor and Description</th>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#StringBuilder--">StringBuilder</a></span>()</code>
|
||
<div class="block">Constructs an instance with an initial capacity of <code>16</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#StringBuilder-java.lang.CharSequence-">StringBuilder</a></span>(java.lang.CharSequence seq)</code>
|
||
<div class="block">Constructs an instance that's initialized with the contents of the specified <code>CharSequence</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#StringBuilder-int-">StringBuilder</a></span>(int capacity)</code>
|
||
<div class="block">Constructs an instance with the specified capacity.</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="rowColor">
|
||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#StringBuilder-java.lang.String-">StringBuilder</a></span>(java.lang.String string)</code>
|
||
<div class="block">Constructs an instance that's initialized with the contents of the specified <code>String</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#StringBuilder-com.badlogic.gdx.utils.StringBuilder-">StringBuilder</a></span>(<a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a> builder)</code> </td>
|
||
</tr>
|
||
</table>
|
||
</li>
|
||
</ul>
|
||
<!-- ========== METHOD SUMMARY =========== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="method.summary">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Method Summary</h3>
|
||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||
<tr>
|
||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||
<th class="colLast" scope="col">Method and Description</th>
|
||
</tr>
|
||
<tr id="i0" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-boolean-">append</a></span>(boolean b)</code>
|
||
<div class="block">Appends the string representation of the specified <code>boolean</code> value.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i1" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-char-">append</a></span>(char c)</code>
|
||
<div class="block">Appends the string representation of the specified <code>char</code> value.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i2" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-char:A-">append</a></span>(char[] ch)</code>
|
||
<div class="block">Appends the string representation of the specified <code>char[]</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i3" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-char:A-int-int-">append</a></span>(char[] str,
|
||
int offset,
|
||
int len)</code>
|
||
<div class="block">Appends the string representation of the specified subset of the <code>char[]</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i4" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-java.lang.CharSequence-">append</a></span>(java.lang.CharSequence csq)</code>
|
||
<div class="block">Appends the string representation of the specified <code>CharSequence</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i5" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-java.lang.CharSequence-int-int-">append</a></span>(java.lang.CharSequence csq,
|
||
int start,
|
||
int end)</code>
|
||
<div class="block">Appends the string representation of the specified subsequence of the <code>CharSequence</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i6" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-double-">append</a></span>(double d)</code>
|
||
<div class="block">Appends the string representation of the specified <code>double</code> value.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i7" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-float-">append</a></span>(float f)</code>
|
||
<div class="block">Appends the string representation of the specified <code>float</code> value.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i8" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-int-">append</a></span>(int value)</code>
|
||
<div class="block">Appends the string representation of the specified <code>int</code> value.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i9" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-int-int-">append</a></span>(int value,
|
||
int minLength)</code>
|
||
<div class="block">Appends the string representation of the specified <code>int</code> value.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i10" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-int-int-char-">append</a></span>(int value,
|
||
int minLength,
|
||
char prefix)</code>
|
||
<div class="block">Appends the string representation of the specified <code>int</code> value.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i11" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-long-">append</a></span>(long value)</code>
|
||
<div class="block">Appends the string representation of the specified <code>long</code> value.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i12" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-long-int-">append</a></span>(long value,
|
||
int minLength)</code>
|
||
<div class="block">Appends the string representation of the specified <code>long</code> value.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i13" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-long-int-char-">append</a></span>(long value,
|
||
int minLength,
|
||
char prefix)</code>
|
||
<div class="block">Appends the string representation of the specified <code>long</code> value.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i14" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-java.lang.Object-">append</a></span>(java.lang.Object obj)</code>
|
||
<div class="block">Appends the string representation of the specified <code>Object</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i15" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-java.lang.String-">append</a></span>(java.lang.String str)</code>
|
||
<div class="block">Appends the contents of the specified string.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i16" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-com.badlogic.gdx.utils.StringBuilder-">append</a></span>(<a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a> builder)</code> </td>
|
||
</tr>
|
||
<tr id="i17" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#append-com.badlogic.gdx.utils.StringBuilder-int-int-">append</a></span>(<a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a> builder,
|
||
int start,
|
||
int end)</code> </td>
|
||
</tr>
|
||
<tr id="i18" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#appendCodePoint-int-">appendCodePoint</a></span>(int codePoint)</code>
|
||
<div class="block">Appends the encoded Unicode code point.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i19" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#appendLine-java.lang.String-">appendLine</a></span>(java.lang.String str)</code>
|
||
<div class="block">Appends the contents of the specified string, then create a new line.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i20" class="altColor">
|
||
<td class="colFirst"><code>int</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#capacity--">capacity</a></span>()</code>
|
||
<div class="block">Returns the number of characters that can be held without growing.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i21" class="rowColor">
|
||
<td class="colFirst"><code>char</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#charAt-int-">charAt</a></span>(int index)</code>
|
||
<div class="block">Retrieves the character at the <code>index</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i22" class="altColor">
|
||
<td class="colFirst"><code>int</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#codePointAt-int-">codePointAt</a></span>(int index)</code>
|
||
<div class="block">Retrieves the Unicode code point value at the <code>index</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i23" class="rowColor">
|
||
<td class="colFirst"><code>int</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#codePointBefore-int-">codePointBefore</a></span>(int index)</code>
|
||
<div class="block">Retrieves the Unicode code point value that precedes the <code>index</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i24" class="altColor">
|
||
<td class="colFirst"><code>int</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#codePointCount-int-int-">codePointCount</a></span>(int beginIndex,
|
||
int endIndex)</code>
|
||
<div class="block">Calculates the number of Unicode code points between <code>beginIndex</code> and <code>endIndex</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i25" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#delete-int-int-">delete</a></span>(int start,
|
||
int end)</code>
|
||
<div class="block">Deletes a sequence of characters specified by <code>start</code> and <code>end</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i26" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#deleteCharAt-int-">deleteCharAt</a></span>(int index)</code>
|
||
<div class="block">Deletes the character at the specified index.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i27" class="rowColor">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#ensureCapacity-int-">ensureCapacity</a></span>(int min)</code>
|
||
<div class="block">Ensures that this object has a minimum capacity available before requiring the internal buffer to be enlarged.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i28" class="altColor">
|
||
<td class="colFirst"><code>boolean</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object obj)</code> </td>
|
||
</tr>
|
||
<tr id="i29" class="rowColor">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#getChars-int-int-char:A-int-">getChars</a></span>(int start,
|
||
int end,
|
||
char[] dest,
|
||
int destStart)</code>
|
||
<div class="block">Copies the requested sequence of characters to the <code>char[]</code> passed starting at <code>destStart</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i30" class="altColor">
|
||
<td class="colFirst"><code>int</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#hashCode--">hashCode</a></span>()</code> </td>
|
||
</tr>
|
||
<tr id="i31" class="rowColor">
|
||
<td class="colFirst"><code>int</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#indexOf-java.lang.String-">indexOf</a></span>(java.lang.String string)</code>
|
||
<div class="block">Searches for the first index of the specified character.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i32" class="altColor">
|
||
<td class="colFirst"><code>int</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#indexOf-java.lang.String-int-">indexOf</a></span>(java.lang.String subString,
|
||
int start)</code>
|
||
<div class="block">Searches for the index of the specified character.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i33" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert-int-boolean-">insert</a></span>(int offset,
|
||
boolean b)</code>
|
||
<div class="block">Inserts the string representation of the specified <code>boolean</code> value at the specified <code>offset</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i34" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert-int-char-">insert</a></span>(int offset,
|
||
char c)</code>
|
||
<div class="block">Inserts the string representation of the specified <code>char</code> value at the specified <code>offset</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i35" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert-int-char:A-">insert</a></span>(int offset,
|
||
char[] ch)</code>
|
||
<div class="block">Inserts the string representation of the specified <code>char[]</code> at the specified <code>offset</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i36" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert-int-char:A-int-int-">insert</a></span>(int offset,
|
||
char[] str,
|
||
int strOffset,
|
||
int strLen)</code>
|
||
<div class="block">Inserts the string representation of the specified subsequence of the <code>char[]</code> at the specified <code>offset</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i37" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert-int-java.lang.CharSequence-">insert</a></span>(int offset,
|
||
java.lang.CharSequence s)</code>
|
||
<div class="block">Inserts the string representation of the specified <code>CharSequence</code> at the specified <code>offset</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i38" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert-int-java.lang.CharSequence-int-int-">insert</a></span>(int offset,
|
||
java.lang.CharSequence s,
|
||
int start,
|
||
int end)</code>
|
||
<div class="block">Inserts the string representation of the specified subsequence of the <code>CharSequence</code> at the specified <code>offset</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i39" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert-int-double-">insert</a></span>(int offset,
|
||
double d)</code>
|
||
<div class="block">Inserts the string representation of the specified <code>double</code> value at the specified <code>offset</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i40" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert-int-float-">insert</a></span>(int offset,
|
||
float f)</code>
|
||
<div class="block">Inserts the string representation of the specified <code>float</code> value at the specified <code>offset</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i41" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert-int-int-">insert</a></span>(int offset,
|
||
int i)</code>
|
||
<div class="block">Inserts the string representation of the specified <code>int</code> value at the specified <code>offset</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i42" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert-int-long-">insert</a></span>(int offset,
|
||
long l)</code>
|
||
<div class="block">Inserts the string representation of the specified <code>long</code> value at the specified <code>offset</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i43" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert-int-java.lang.Object-">insert</a></span>(int offset,
|
||
java.lang.Object obj)</code>
|
||
<div class="block">Inserts the string representation of the specified <code>Object</code> at the specified <code>offset</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i44" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#insert-int-java.lang.String-">insert</a></span>(int offset,
|
||
java.lang.String str)</code>
|
||
<div class="block">Inserts the specified string at the specified <code>offset</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i45" class="rowColor">
|
||
<td class="colFirst"><code>int</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#lastIndexOf-java.lang.String-">lastIndexOf</a></span>(java.lang.String string)</code>
|
||
<div class="block">Searches for the last index of the specified character.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i46" class="altColor">
|
||
<td class="colFirst"><code>int</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#lastIndexOf-java.lang.String-int-">lastIndexOf</a></span>(java.lang.String subString,
|
||
int start)</code>
|
||
<div class="block">Searches for the index of the specified character.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i47" class="rowColor">
|
||
<td class="colFirst"><code>int</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#length--">length</a></span>()</code>
|
||
<div class="block">The current length.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i48" class="altColor">
|
||
<td class="colFirst"><code>static int</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#numChars-int-int-">numChars</a></span>(int value,
|
||
int radix)</code> </td>
|
||
</tr>
|
||
<tr id="i49" class="rowColor">
|
||
<td class="colFirst"><code>static int</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#numChars-long-int-">numChars</a></span>(long value,
|
||
int radix)</code> </td>
|
||
</tr>
|
||
<tr id="i50" class="altColor">
|
||
<td class="colFirst"><code>int</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#offsetByCodePoints-int-int-">offsetByCodePoints</a></span>(int index,
|
||
int codePointOffset)</code>
|
||
<div class="block">Returns the index that is offset <code>codePointOffset</code> code points from <code>index</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i51" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#replace-char-java.lang.String-">replace</a></span>(char find,
|
||
java.lang.String replace)</code>
|
||
<div class="block">Replaces all instances of <code>find</code> with <code>replace</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i52" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#replace-int-int-java.lang.String-">replace</a></span>(int start,
|
||
int end,
|
||
java.lang.String str)</code>
|
||
<div class="block">Replaces the specified subsequence in this builder with the specified string.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i53" class="rowColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#replace-java.lang.String-java.lang.String-">replace</a></span>(java.lang.String find,
|
||
java.lang.String replace)</code>
|
||
<div class="block">Replaces all instances of <code>find</code> with <code>replace</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i54" class="altColor">
|
||
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#reverse--">reverse</a></span>()</code>
|
||
<div class="block">Reverses the order of characters in this builder.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i55" class="rowColor">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#setCharAt-int-char-">setCharAt</a></span>(int index,
|
||
char ch)</code>
|
||
<div class="block">Sets the character at the <code>index</code>.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i56" class="altColor">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#setLength-int-">setLength</a></span>(int newLength)</code>
|
||
<div class="block">Sets the current length to a new value.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i57" class="rowColor">
|
||
<td class="colFirst"><code>java.lang.CharSequence</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#subSequence-int-int-">subSequence</a></span>(int start,
|
||
int end)</code>
|
||
<div class="block">Returns a <code>CharSequence</code> of the subsequence from the <code>start</code> index to the <code>end</code> index.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i58" class="altColor">
|
||
<td class="colFirst"><code>java.lang.String</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#substring-int-">substring</a></span>(int start)</code>
|
||
<div class="block">Returns the String value of the subsequence from the <code>start</code> index to the current end.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i59" class="rowColor">
|
||
<td class="colFirst"><code>java.lang.String</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#substring-int-int-">substring</a></span>(int start,
|
||
int end)</code>
|
||
<div class="block">Returns the String value of the subsequence from the <code>start</code> index to the <code>end</code> index.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i60" class="altColor">
|
||
<td class="colFirst"><code>java.lang.String</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#toString--">toString</a></span>()</code>
|
||
<div class="block">Returns the current String representation.</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="i61" class="rowColor">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#trimToSize--">trimToSize</a></span>()</code>
|
||
<div class="block">Trims off any extra capacity beyond the current length.</div>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Methods inherited from class java.lang.Object</h3>
|
||
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
|
||
</ul>
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.CharSequence">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Methods inherited from interface java.lang.CharSequence</h3>
|
||
<code>chars, codePoints</code></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div class="details">
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<!-- ============ FIELD DETAIL =========== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="field.detail">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Field Detail</h3>
|
||
<a name="chars">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>chars</h4>
|
||
<pre>public char[] chars</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="length">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockListLast">
|
||
<li class="blockList">
|
||
<h4>length</h4>
|
||
<pre>public int length</pre>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="constructor.detail">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Constructor Detail</h3>
|
||
<a name="StringBuilder--">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>StringBuilder</h4>
|
||
<pre>public StringBuilder()</pre>
|
||
<div class="block">Constructs an instance with an initial capacity of <code>16</code>.</div>
|
||
<dl>
|
||
<dt><span class="seeLabel">See Also:</span></dt>
|
||
<dd><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#capacity--"><code>capacity()</code></a></dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="StringBuilder-int-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>StringBuilder</h4>
|
||
<pre>public StringBuilder(int capacity)</pre>
|
||
<div class="block">Constructs an instance with the specified capacity.</div>
|
||
<dl>
|
||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||
<dd><code>capacity</code> - the initial capacity to use.</dd>
|
||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||
<dd><code>java.lang.NegativeArraySizeException</code> - if the specified <code>capacity</code> is negative.</dd>
|
||
<dt><span class="seeLabel">See Also:</span></dt>
|
||
<dd><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#capacity--"><code>capacity()</code></a></dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="StringBuilder-java.lang.CharSequence-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>StringBuilder</h4>
|
||
<pre>public StringBuilder(java.lang.CharSequence seq)</pre>
|
||
<div class="block">Constructs an instance that's initialized with the contents of the specified <code>CharSequence</code>. The capacity of the new
|
||
builder will be the length of the <code>CharSequence</code> plus 16.</div>
|
||
<dl>
|
||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||
<dd><code>seq</code> - the <code>CharSequence</code> to copy into the builder.</dd>
|
||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||
<dd><code>java.lang.NullPointerException</code> - if <code>seq</code> is <code>null</code>.</dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="StringBuilder-com.badlogic.gdx.utils.StringBuilder-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>StringBuilder</h4>
|
||
<pre>public StringBuilder(<a href="../../../../com/badlogic/gdx/utils/StringBuilder.html" title="class in com.badlogic.gdx.utils">StringBuilder</a> builder)</pre>
|
||
</li>
|
||
</ul>
|
||
<a name="StringBuilder-java.lang.String-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockListLast">
|
||
<li class="blockList">
|
||
<h4>StringBuilder</h4>
|
||
<pre>public StringBuilder(java.lang.String string)</pre>
|
||
<div class="block">Constructs an instance that's initialized with the contents of the specified <code>String</code>. The capacity of the new
|
||
builder will be the length of the <code>String</code> plus 16.</div>
|
||
<dl>
|
||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||
<dd><code>string</code> - the <code>String</code> to copy into the builder.</dd>
|
||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||
<dd><code>java.lang.NullPointerException</code> - if <code>str</code> is <code>null</code>.</dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<!-- ============ METHOD DETAIL ========== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="method.detail">
|
||
<!-- -->
|
||
</a>
|
||
<h3>Method Detail</h3>
|
||
<a name="numChars-int-int-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>numChars</h4>
|
||
<pre>public static int numChars(int value,
|
||
int radix)</pre>
|
||
<dl>
|
||
<dt><span class="returnLabel">Returns:</span></dt>
|
||
<dd>the number of characters required to represent the specified value with the specified radix</dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="numChars-long-int-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>numChars</h4>
|
||
<pre>public static int numChars(long value,
|
||
int radix)</pre>
|
||
<dl>
|
||
<dt><span class="returnLabel">Returns:</span></dt>
|
||
<dd>the number of characters required to represent the specified value with the specified radix</dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="capacity--">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>capacity</h4>
|
||
<pre>public int capacity()</pre>
|
||
<div class="block">Returns the number of characters that can be held without growing.</div>
|
||
<dl>
|
||
<dt><span class="returnLabel">Returns:</span></dt>
|
||
<dd>the capacity</dd>
|
||
<dt><span class="seeLabel">See Also:</span></dt>
|
||
<dd><a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#ensureCapacity-int-"><code>ensureCapacity(int)</code></a>,
|
||
<a href="../../../../com/badlogic/gdx/utils/StringBuilder.html#length"><code>length</code></a></dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="charAt-int-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>charAt</h4>
|
||
<pre>public char charAt(int index)</pre>
|
||
<div class="block">Retrieves the character at the <code>index</code>.</div>
|
||
<dl>
|
||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||
<dd><code>charAt</code> in interface <code>java.lang.CharSequence</code></dd>
|
||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||
<dd><code>index</code> - the index of the character to retrieve.</dd>
|
||
<dt><span class="returnLabel">Returns:</span></dt>
|
||
<dd>the char value.</dd>
|
||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||
<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>.</dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="ensureCapacity-int-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>ensureCapacity</h4>
|
||
<pre>public void ensureCapacity(int min)</pre>
|
||
<div class="block">Ensures that this object has a minimum capacity available before requiring the internal buffer to be enlarged. The general
|
||
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
|
||
capacity will be increased to the largest value of either the <code>minimumCapacity</code> or the current capacity multiplied by
|
||
two plus two. Although this is the general policy, there is no guarantee that the capacity will change.</div>
|
||
<dl>
|
||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||
<dd><code>min</code> - the new minimum capacity to set.</dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="getChars-int-int-char:A-int-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>getChars</h4>
|
||
<pre>public void getChars(int start,
|
||
int end,
|
||
char[] dest,
|
||
int destStart)</pre>
|
||
<div class="block">Copies the requested sequence of characters to the <code>char[]</code> passed starting at <code>destStart</code>.</div>
|
||
<dl>
|
||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||
<dd><code>start</code> - the inclusive start index of the characters to copy.</dd>
|
||
<dd><code>end</code> - the exclusive end index of the characters to copy.</dd>
|
||
<dd><code>dest</code> - the <code>char[]</code> to copy the characters to.</dd>
|
||
<dd><code>destStart</code> - the inclusive start index of <code>dest</code> to begin copying to.</dd>
|
||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||
<dd><code>java.lang.IndexOutOfBoundsException</code> - if the <code>start</code> is negative, the <code>destStart</code> is negative, the <code>start</code> is
|
||
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
|
||
<code>destStart + end - begin</code> is greater than <code>dest.length</code>.</dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="length--">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>length</h4>
|
||
<pre>public int length()</pre>
|
||
<div class="block">The current length.</div>
|
||
<dl>
|
||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||
<dd><code>length</code> in interface <code>java.lang.CharSequence</code></dd>
|
||
<dt><span class="returnLabel">Returns:</span></dt>
|
||
<dd>the number of characters contained in this instance.</dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="setCharAt-int-char-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>setCharAt</h4>
|
||
<pre>public void setCharAt(int index,
|
||
char ch)</pre>
|
||
<div class="block">Sets the character at the <code>index</code>.</div>
|
||
<dl>
|
||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||
<dd><code>index</code> - the zero-based index of the character to replace.</dd>
|
||
<dd><code>ch</code> - the character to set.</dd>
|
||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||
<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>.</dd>
|
||
</dl>
|
||
</li>
|
||
</ul>
|
||
<a name="setLength-int-">
|
||
<!-- -->
|
||
</a>
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<h4>setLength</h4>
|
||
<pre>public void setLength(int newLength)</pre>
|
||
<div class="block">Sets the current length to a new value. If the new length is larger than the current length, then the new characters at the
|
||
end of this object will contain the <code>char</code> value of <code> |