Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1107 chris 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!-- NewPage -->
3
<html lang="en">
4
<head>
5
<!-- Generated by javadoc (version 1.7.0_17) on Sun Nov 03 15:35:44 CET 2013 -->
6
<title>SortedIntList (libgdx API)</title>
7
<meta name="date" content="2013-11-03">
8
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
9
</head>
10
<body>
11
<script type="text/javascript"><!--
12
    if (location.href.indexOf('is-external=true') == -1) {
13
        parent.document.title="SortedIntList (libgdx API)";
14
    }
15
//-->
16
</script>
17
<noscript>
18
<div>JavaScript is disabled on your browser.</div>
19
</noscript>
20
<!-- ========= START OF TOP NAVBAR ======= -->
21
<div class="topNav"><a name="navbar_top">
22
<!--   -->
23
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
24
<!--   -->
25
</a>
26
<ul class="navList" title="Navigation">
27
<li><a href="../../../../overview-summary.html">Overview</a></li>
28
<li><a href="package-summary.html">Package</a></li>
29
<li class="navBarCell1Rev">Class</li>
30
<li><a href="class-use/SortedIntList.html">Use</a></li>
31
<li><a href="package-tree.html">Tree</a></li>
32
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
33
<li><a href="../../../../index-all.html">Index</a></li>
34
<li><a href="../../../../help-doc.html">Help</a></li>
35
</ul>
36
<div class="aboutLanguage"><em>
37
                                libgdx API
38
                                <style>
39
                                body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
40
                                pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
41
                                h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%;  font-weight:bold }
42
                                .TableHeadingColor { background:#EEEEFF; }
43
                                a { text-decoration:none }
44
                                a:hover { text-decoration:underline }
45
                                a:link, a:visited { color:blue }
46
                                table { border:0px }
47
                                .TableRowColor td:first-child { border-left:1px solid black }
48
                                .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
49
                                hr { border:0px; border-bottom:1px solid #333366; }
50
                                </style>
51
                        </em></div>
52
</div>
53
<div class="subNav">
54
<ul class="navList">
55
<li><a href="../../../../com/badlogic/gdx/utils/Sort.html" title="class in com.badlogic.gdx.utils"><span class="strong">Prev Class</span></a></li>
56
<li><a href="../../../../com/badlogic/gdx/utils/SortedIntList.Node.html" title="class in com.badlogic.gdx.utils"><span class="strong">Next Class</span></a></li>
57
</ul>
58
<ul class="navList">
59
<li><a href="../../../../index.html?com/badlogic/gdx/utils/SortedIntList.html" target="_top">Frames</a></li>
60
<li><a href="SortedIntList.html" target="_top">No Frames</a></li>
61
</ul>
62
<ul class="navList" id="allclasses_navbar_top">
63
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
64
</ul>
65
<div>
66
<script type="text/javascript"><!--
67
  allClassesLink = document.getElementById("allclasses_navbar_top");
68
  if(window==top) {
69
    allClassesLink.style.display = "block";
70
  }
71
  else {
72
    allClassesLink.style.display = "none";
73
  }
74
  //-->
75
</script>
76
</div>
77
<div>
78
<ul class="subNavList">
79
<li>Summary:&nbsp;</li>
80
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
81
<li>Field&nbsp;|&nbsp;</li>
82
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
83
<li><a href="#method_summary">Method</a></li>
84
</ul>
85
<ul class="subNavList">
86
<li>Detail:&nbsp;</li>
87
<li>Field&nbsp;|&nbsp;</li>
88
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
89
<li><a href="#method_detail">Method</a></li>
90
</ul>
91
</div>
92
<a name="skip-navbar_top">
93
<!--   -->
94
</a></div>
95
<!-- ========= END OF TOP NAVBAR ========= -->
96
<!-- ======== START OF CLASS DATA ======== -->
97
<div class="header">
98
<div class="subTitle">com.badlogic.gdx.utils</div>
99
<h2 title="Class SortedIntList" class="title">Class SortedIntList&lt;E&gt;</h2>
100
</div>
101
<div class="contentContainer">
102
<ul class="inheritance">
103
<li>java.lang.Object</li>
104
<li>
105
<ul class="inheritance">
106
<li>com.badlogic.gdx.utils.SortedIntList&lt;E&gt;</li>
107
</ul>
108
</li>
109
</ul>
110
<div class="description">
111
<ul class="blockList">
112
<li class="blockList">
113
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>E</code> - </dd></dl>
114
<dl>
115
<dt>All Implemented Interfaces:</dt>
116
<dd>java.lang.Iterable&lt;<a href="../../../../com/badlogic/gdx/utils/SortedIntList.Node.html" title="class in com.badlogic.gdx.utils">SortedIntList.Node</a>&lt;E&gt;&gt;</dd>
117
</dl>
118
<hr>
119
<br>
120
<pre>public class <span class="strong">SortedIntList&lt;E&gt;</span>
121
extends java.lang.Object
122
implements java.lang.Iterable&lt;<a href="../../../../com/badlogic/gdx/utils/SortedIntList.Node.html" title="class in com.badlogic.gdx.utils">SortedIntList.Node</a>&lt;E&gt;&gt;</pre>
123
<div class="block">A sorted double linked list which uses ints for indexing</div>
124
</li>
125
</ul>
126
</div>
127
<div class="summary">
128
<ul class="blockList">
129
<li class="blockList">
130
<!-- ======== NESTED CLASS SUMMARY ======== -->
131
<ul class="blockList">
132
<li class="blockList"><a name="nested_class_summary">
133
<!--   -->
134
</a>
135
<h3>Nested Class Summary</h3>
136
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
137
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
138
<tr>
139
<th class="colFirst" scope="col">Modifier and Type</th>
140
<th class="colLast" scope="col">Class and Description</th>
141
</tr>
142
<tr class="altColor">
143
<td class="colFirst"><code>static class&nbsp;</code></td>
144
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/utils/SortedIntList.Node.html" title="class in com.badlogic.gdx.utils">SortedIntList.Node</a>&lt;<a href="../../../../com/badlogic/gdx/utils/SortedIntList.Node.html" title="type parameter in SortedIntList.Node">E</a>&gt;</strong></code>&nbsp;</td>
145
</tr>
146
</table>
147
</li>
148
</ul>
149
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
150
<ul class="blockList">
151
<li class="blockList"><a name="constructor_summary">
152
<!--   -->
153
</a>
154
<h3>Constructor Summary</h3>
155
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
156
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
157
<tr>
158
<th class="colOne" scope="col">Constructor and Description</th>
159
</tr>
160
<tr class="altColor">
161
<td class="colOne"><code><strong><a href="../../../../com/badlogic/gdx/utils/SortedIntList.html#SortedIntList()">SortedIntList</a></strong>()</code>
162
<div class="block">Creates an ascending list</div>
163
</td>
164
</tr>
165
</table>
166
</li>
167
</ul>
168
<!-- ========== METHOD SUMMARY =========== -->
169
<ul class="blockList">
170
<li class="blockList"><a name="method_summary">
171
<!--   -->
172
</a>
173
<h3>Method Summary</h3>
174
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
175
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
176
<tr>
177
<th class="colFirst" scope="col">Modifier and Type</th>
178
<th class="colLast" scope="col">Method and Description</th>
179
</tr>
180
<tr class="altColor">
181
<td class="colFirst"><code>void</code></td>
182
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/utils/SortedIntList.html#clear()">clear</a></strong>()</code>
183
<div class="block">Clears list</div>
184
</td>
185
</tr>
186
<tr class="rowColor">
187
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/SortedIntList.html" title="type parameter in SortedIntList">E</a></code></td>
188
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/utils/SortedIntList.html#get(int)">get</a></strong>(int&nbsp;index)</code>
189
<div class="block">Retrieves an element at a given index</div>
190
</td>
191
</tr>
192
<tr class="altColor">
193
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/utils/SortedIntList.html" title="type parameter in SortedIntList">E</a></code></td>
194
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/utils/SortedIntList.html#insert(int, E)">insert</a></strong>(int&nbsp;index,
195
      <a href="../../../../com/badlogic/gdx/utils/SortedIntList.html" title="type parameter in SortedIntList">E</a>&nbsp;value)</code>
196
<div class="block">Inserts an element into the list at the given index</div>
197
</td>
198
</tr>
199
<tr class="rowColor">
200
<td class="colFirst"><code>java.util.Iterator&lt;<a href="../../../../com/badlogic/gdx/utils/SortedIntList.Node.html" title="class in com.badlogic.gdx.utils">SortedIntList.Node</a>&lt;<a href="../../../../com/badlogic/gdx/utils/SortedIntList.html" title="type parameter in SortedIntList">E</a>&gt;&gt;</code></td>
201
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/utils/SortedIntList.html#iterator()">iterator</a></strong>()</code>
202
<div class="block">Returns an iterator to traverse the list.<br/>
203
 Only one iterator can be active per list at any given time.</div>
204
</td>
205
</tr>
206
<tr class="altColor">
207
<td class="colFirst"><code>int</code></td>
208
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/utils/SortedIntList.html#size()">size</a></strong>()</code>&nbsp;</td>
209
</tr>
210
</table>
211
<ul class="blockList">
212
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
213
<!--   -->
214
</a>
215
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
216
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
217
</ul>
218
</li>
219
</ul>
220
</li>
221
</ul>
222
</div>
223
<div class="details">
224
<ul class="blockList">
225
<li class="blockList">
226
<!-- ========= CONSTRUCTOR DETAIL ======== -->
227
<ul class="blockList">
228
<li class="blockList"><a name="constructor_detail">
229
<!--   -->
230
</a>
231
<h3>Constructor Detail</h3>
232
<a name="SortedIntList()">
233
<!--   -->
234
</a>
235
<ul class="blockListLast">
236
<li class="blockList">
237
<h4>SortedIntList</h4>
238
<pre>public&nbsp;SortedIntList()</pre>
239
<div class="block">Creates an ascending list</div>
240
</li>
241
</ul>
242
</li>
243
</ul>
244
<!-- ============ METHOD DETAIL ========== -->
245
<ul class="blockList">
246
<li class="blockList"><a name="method_detail">
247
<!--   -->
248
</a>
249
<h3>Method Detail</h3>
250
<a name="insert(int,java.lang.Object)">
251
<!--   -->
252
</a><a name="insert(int, E)">
253
<!--   -->
254
</a>
255
<ul class="blockList">
256
<li class="blockList">
257
<h4>insert</h4>
258
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/utils/SortedIntList.html" title="type parameter in SortedIntList">E</a>&nbsp;insert(int&nbsp;index,
259
       <a href="../../../../com/badlogic/gdx/utils/SortedIntList.html" title="type parameter in SortedIntList">E</a>&nbsp;value)</pre>
260
<div class="block">Inserts an element into the list at the given index</div>
261
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - Index of the element</dd><dd><code>value</code> - Element to insert</dd>
262
<dt><span class="strong">Returns:</span></dt><dd>Element replaced by newly inserted element, null if nothing was replaced</dd></dl>
263
</li>
264
</ul>
265
<a name="get(int)">
266
<!--   -->
267
</a>
268
<ul class="blockList">
269
<li class="blockList">
270
<h4>get</h4>
271
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/utils/SortedIntList.html" title="type parameter in SortedIntList">E</a>&nbsp;get(int&nbsp;index)</pre>
272
<div class="block">Retrieves an element at a given index</div>
273
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - Index of the element to retrieve</dd>
274
<dt><span class="strong">Returns:</span></dt><dd>Matching element, null otherwise</dd></dl>
275
</li>
276
</ul>
277
<a name="clear()">
278
<!--   -->
279
</a>
280
<ul class="blockList">
281
<li class="blockList">
282
<h4>clear</h4>
283
<pre>public&nbsp;void&nbsp;clear()</pre>
284
<div class="block">Clears list</div>
285
</li>
286
</ul>
287
<a name="size()">
288
<!--   -->
289
</a>
290
<ul class="blockList">
291
<li class="blockList">
292
<h4>size</h4>
293
<pre>public&nbsp;int&nbsp;size()</pre>
294
<dl><dt><span class="strong">Returns:</span></dt><dd>size of list equal to elements contained in it</dd></dl>
295
</li>
296
</ul>
297
<a name="iterator()">
298
<!--   -->
299
</a>
300
<ul class="blockListLast">
301
<li class="blockList">
302
<h4>iterator</h4>
303
<pre>public&nbsp;java.util.Iterator&lt;<a href="../../../../com/badlogic/gdx/utils/SortedIntList.Node.html" title="class in com.badlogic.gdx.utils">SortedIntList.Node</a>&lt;<a href="../../../../com/badlogic/gdx/utils/SortedIntList.html" title="type parameter in SortedIntList">E</a>&gt;&gt;&nbsp;iterator()</pre>
304
<div class="block">Returns an iterator to traverse the list.<br/>
305
 Only one iterator can be active per list at any given time.</div>
306
<dl>
307
<dt><strong>Specified by:</strong></dt>
308
<dd><code>iterator</code>&nbsp;in interface&nbsp;<code>java.lang.Iterable&lt;<a href="../../../../com/badlogic/gdx/utils/SortedIntList.Node.html" title="class in com.badlogic.gdx.utils">SortedIntList.Node</a>&lt;<a href="../../../../com/badlogic/gdx/utils/SortedIntList.html" title="type parameter in SortedIntList">E</a>&gt;&gt;</code></dd>
309
<dt><span class="strong">Returns:</span></dt><dd>Iterator to traverse list</dd></dl>
310
</li>
311
</ul>
312
</li>
313
</ul>
314
</li>
315
</ul>
316
</div>
317
</div>
318
<!-- ========= END OF CLASS DATA ========= -->
319
<!-- ======= START OF BOTTOM NAVBAR ====== -->
320
<div class="bottomNav"><a name="navbar_bottom">
321
<!--   -->
322
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
323
<!--   -->
324
</a>
325
<ul class="navList" title="Navigation">
326
<li><a href="../../../../overview-summary.html">Overview</a></li>
327
<li><a href="package-summary.html">Package</a></li>
328
<li class="navBarCell1Rev">Class</li>
329
<li><a href="class-use/SortedIntList.html">Use</a></li>
330
<li><a href="package-tree.html">Tree</a></li>
331
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
332
<li><a href="../../../../index-all.html">Index</a></li>
333
<li><a href="../../../../help-doc.html">Help</a></li>
334
</ul>
335
<div class="aboutLanguage"><em>libgdx API</em></div>
336
</div>
337
<div class="subNav">
338
<ul class="navList">
339
<li><a href="../../../../com/badlogic/gdx/utils/Sort.html" title="class in com.badlogic.gdx.utils"><span class="strong">Prev Class</span></a></li>
340
<li><a href="../../../../com/badlogic/gdx/utils/SortedIntList.Node.html" title="class in com.badlogic.gdx.utils"><span class="strong">Next Class</span></a></li>
341
</ul>
342
<ul class="navList">
343
<li><a href="../../../../index.html?com/badlogic/gdx/utils/SortedIntList.html" target="_top">Frames</a></li>
344
<li><a href="SortedIntList.html" target="_top">No Frames</a></li>
345
</ul>
346
<ul class="navList" id="allclasses_navbar_bottom">
347
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
348
</ul>
349
<div>
350
<script type="text/javascript"><!--
351
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
352
  if(window==top) {
353
    allClassesLink.style.display = "block";
354
  }
355
  else {
356
    allClassesLink.style.display = "none";
357
  }
358
  //-->
359
</script>
360
</div>
361
<div>
362
<ul class="subNavList">
363
<li>Summary:&nbsp;</li>
364
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
365
<li>Field&nbsp;|&nbsp;</li>
366
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
367
<li><a href="#method_summary">Method</a></li>
368
</ul>
369
<ul class="subNavList">
370
<li>Detail:&nbsp;</li>
371
<li>Field&nbsp;|&nbsp;</li>
372
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
373
<li><a href="#method_detail">Method</a></li>
374
</ul>
375
</div>
376
<a name="skip-navbar_bottom">
377
<!--   -->
378
</a></div>
379
<!-- ======== END OF BOTTOM NAVBAR ======= -->
380
<p class="legalCopy"><small>
381
                                <div style="font-size:9pt"><i>
382
                                Copyright &copy; 2010-2013 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
383
                                </i></div>
384
                        </small></p>
385
</body>
386
</html>