Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
356 chris 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.6.0_26) on Sun Jan 27 20:37:06 CET 2013 -->
6
<TITLE>
7
RefCountedContainer (libgdx API)
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2013-01-27">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="RefCountedContainer (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/RefCountedContainer.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/assets/AssetManager.html" title="class in com.badlogic.gdx.assets"><B>PREV CLASS</B></A>&nbsp;
74
&nbsp;NEXT CLASS</FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../../index.html?com/badlogic/gdx/assets/RefCountedContainer.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="RefCountedContainer.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;FIELD&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;FIELD&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.assets</FONT>
107
<BR>
108
Class RefCountedContainer</H2>
109
<PRE>
110
java.lang.Object
111
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.assets.RefCountedContainer</B>
112
</PRE>
113
<HR>
114
<DL>
115
<DT><PRE>public class <B>RefCountedContainer</B><DT>extends java.lang.Object</DL>
116
</PRE>
117
 
118
<P>
119
<HR>
120
 
121
<P>
122
 
123
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
124
 
125
<A NAME="constructor_summary"><!-- --></A>
126
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
127
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
128
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
129
<B>Constructor Summary</B></FONT></TH>
130
</TR>
131
<TR BGCOLOR="white" CLASS="TableRowColor">
132
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/assets/RefCountedContainer.html#RefCountedContainer(java.lang.Object)">RefCountedContainer</A></B>(java.lang.Object&nbsp;object)</CODE>
133
 
134
<BR>
135
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
136
</TR>
137
</TABLE>
138
&nbsp;
139
<!-- ========== METHOD SUMMARY =========== -->
140
 
141
<A NAME="method_summary"><!-- --></A>
142
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
143
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
144
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
145
<B>Method Summary</B></FONT></TH>
146
</TR>
147
<TR BGCOLOR="white" CLASS="TableRowColor">
148
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149
<CODE>&nbsp;void</CODE></FONT></TD>
150
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/assets/RefCountedContainer.html#decRefCount()">decRefCount</A></B>()</CODE>
151
 
152
<BR>
153
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
154
</TR>
155
<TR BGCOLOR="white" CLASS="TableRowColor">
156
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157
<CODE>
158
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
159
<TR ALIGN="right" VALIGN="">
160
<TD NOWRAP><FONT SIZE="-1">
161
<CODE>&lt;T&gt; T</CODE></FONT></TD>
162
</TR>
163
</TABLE>
164
</CODE></FONT></TD>
165
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/assets/RefCountedContainer.html#getObject(java.lang.Class)">getObject</A></B>(java.lang.Class&lt;T&gt;&nbsp;type)</CODE>
166
 
167
<BR>
168
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
169
</TR>
170
<TR BGCOLOR="white" CLASS="TableRowColor">
171
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172
<CODE>&nbsp;int</CODE></FONT></TD>
173
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/assets/RefCountedContainer.html#getRefCount()">getRefCount</A></B>()</CODE>
174
 
175
<BR>
176
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
177
</TR>
178
<TR BGCOLOR="white" CLASS="TableRowColor">
179
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180
<CODE>&nbsp;void</CODE></FONT></TD>
181
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/assets/RefCountedContainer.html#incRefCount()">incRefCount</A></B>()</CODE>
182
 
183
<BR>
184
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
185
</TR>
186
<TR BGCOLOR="white" CLASS="TableRowColor">
187
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188
<CODE>&nbsp;void</CODE></FONT></TD>
189
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/assets/RefCountedContainer.html#setObject(java.lang.Object)">setObject</A></B>(java.lang.Object&nbsp;asset)</CODE>
190
 
191
<BR>
192
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
193
</TR>
194
<TR BGCOLOR="white" CLASS="TableRowColor">
195
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
196
<CODE>&nbsp;void</CODE></FONT></TD>
197
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/assets/RefCountedContainer.html#setRefCount(int)">setRefCount</A></B>(int&nbsp;refCount)</CODE>
198
 
199
<BR>
200
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
201
</TR>
202
</TABLE>
203
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
204
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
205
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
206
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
207
</TR>
208
<TR BGCOLOR="white" CLASS="TableRowColor">
209
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
210
</TR>
211
</TABLE>
212
&nbsp;
213
<P>
214
 
215
<!-- ========= CONSTRUCTOR DETAIL ======== -->
216
 
217
<A NAME="constructor_detail"><!-- --></A>
218
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
219
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
220
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
221
<B>Constructor Detail</B></FONT></TH>
222
</TR>
223
</TABLE>
224
 
225
<A NAME="RefCountedContainer(java.lang.Object)"><!-- --></A><H3>
226
RefCountedContainer</H3>
227
<PRE>
228
public <B>RefCountedContainer</B>(java.lang.Object&nbsp;object)</PRE>
229
<DL>
230
</DL>
231
 
232
<!-- ============ METHOD DETAIL ========== -->
233
 
234
<A NAME="method_detail"><!-- --></A>
235
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
236
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
237
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
238
<B>Method Detail</B></FONT></TH>
239
</TR>
240
</TABLE>
241
 
242
<A NAME="incRefCount()"><!-- --></A><H3>
243
incRefCount</H3>
244
<PRE>
245
public void <B>incRefCount</B>()</PRE>
246
<DL>
247
<DD><DL>
248
</DL>
249
</DD>
250
</DL>
251
<HR>
252
 
253
<A NAME="decRefCount()"><!-- --></A><H3>
254
decRefCount</H3>
255
<PRE>
256
public void <B>decRefCount</B>()</PRE>
257
<DL>
258
<DD><DL>
259
</DL>
260
</DD>
261
</DL>
262
<HR>
263
 
264
<A NAME="getRefCount()"><!-- --></A><H3>
265
getRefCount</H3>
266
<PRE>
267
public int <B>getRefCount</B>()</PRE>
268
<DL>
269
<DD><DL>
270
</DL>
271
</DD>
272
</DL>
273
<HR>
274
 
275
<A NAME="setRefCount(int)"><!-- --></A><H3>
276
setRefCount</H3>
277
<PRE>
278
public void <B>setRefCount</B>(int&nbsp;refCount)</PRE>
279
<DL>
280
<DD><DL>
281
</DL>
282
</DD>
283
</DL>
284
<HR>
285
 
286
<A NAME="getObject(java.lang.Class)"><!-- --></A><H3>
287
getObject</H3>
288
<PRE>
289
public &lt;T&gt; T <B>getObject</B>(java.lang.Class&lt;T&gt;&nbsp;type)</PRE>
290
<DL>
291
<DD><DL>
292
</DL>
293
</DD>
294
</DL>
295
<HR>
296
 
297
<A NAME="setObject(java.lang.Object)"><!-- --></A><H3>
298
setObject</H3>
299
<PRE>
300
public void <B>setObject</B>(java.lang.Object&nbsp;asset)</PRE>
301
<DL>
302
<DD><DL>
303
</DL>
304
</DD>
305
</DL>
306
<!-- ========= END OF CLASS DATA ========= -->
307
<HR>
308
 
309
 
310
<!-- ======= START OF BOTTOM NAVBAR ====== -->
311
<A NAME="navbar_bottom"><!-- --></A>
312
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
313
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
314
<TR>
315
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
316
<A NAME="navbar_bottom_firstrow"><!-- --></A>
317
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
318
  <TR ALIGN="center" VALIGN="top">
319
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
320
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
321
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
322
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/RefCountedContainer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
323
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
324
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
325
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
326
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
327
  </TR>
328
</TABLE>
329
</TD>
330
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
331
libgdx API</EM>
332
</TD>
333
</TR>
334
 
335
<TR>
336
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
337
&nbsp;<A HREF="../../../../com/badlogic/gdx/assets/AssetManager.html" title="class in com.badlogic.gdx.assets"><B>PREV CLASS</B></A>&nbsp;
338
&nbsp;NEXT CLASS</FONT></TD>
339
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
340
  <A HREF="../../../../index.html?com/badlogic/gdx/assets/RefCountedContainer.html" target="_top"><B>FRAMES</B></A>  &nbsp;
341
&nbsp;<A HREF="RefCountedContainer.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
342
&nbsp;<SCRIPT type="text/javascript">
343
  <!--
344
  if(window==top) {
345
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
346
  }
347
  //-->
348
</SCRIPT>
349
<NOSCRIPT>
350
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
351
</NOSCRIPT>
352
 
353
 
354
</FONT></TD>
355
</TR>
356
<TR>
357
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
358
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
359
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
360
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
361
</TR>
362
</TABLE>
363
<A NAME="skip-navbar_bottom"></A>
364
<!-- ======== END OF BOTTOM NAVBAR ======= -->
365
 
366
<HR>
367
 
368
                                <div style="font-size:9pt"><i>
369
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
370
                                </i></div>
371
 
372
</BODY>
373
</HTML>