• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_25) on Mon Jun 02 17:48:58 PDT 2014 -->
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>ContainerBuilder (jackson-databind 2.4.0 API)</title>
8<meta name="date" content="2014-06-02">
9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10</head>
11<body>
12<script type="text/javascript"><!--
13    if (location.href.indexOf('is-external=true') == -1) {
14        parent.document.title="ContainerBuilder (jackson-databind 2.4.0 API)";
15    }
16//-->
17</script>
18<noscript>
19<div>JavaScript is disabled on your browser.</div>
20</noscript>
21<!-- ========= START OF TOP NAVBAR ======= -->
22<div class="topNav"><a name="navbar_top">
23<!--   -->
24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
25<!--   -->
26</a>
27<ul class="navList" title="Navigation">
28<li><a href="../../../../../overview-summary.html">Overview</a></li>
29<li><a href="package-summary.html">Package</a></li>
30<li class="navBarCell1Rev">Class</li>
31<li><a href="class-use/ContainerBuilder.html">Use</a></li>
32<li><a href="package-tree.html">Tree</a></li>
33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
34<li><a href="../../../../../index-all.html">Index</a></li>
35<li><a href="../../../../../help-doc.html">Help</a></li>
36</ul>
37</div>
38<div class="subNav">
39<ul class="navList">
40<li><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Prev Class</span></a></li>
41<li><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util"><span class="strong">Next Class</span></a></li>
42</ul>
43<ul class="navList">
44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/ContainerBuilder.html" target="_top">Frames</a></li>
45<li><a href="ContainerBuilder.html" target="_top">No Frames</a></li>
46</ul>
47<ul class="navList" id="allclasses_navbar_top">
48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
49</ul>
50<div>
51<script type="text/javascript"><!--
52  allClassesLink = document.getElementById("allclasses_navbar_top");
53  if(window==top) {
54    allClassesLink.style.display = "block";
55  }
56  else {
57    allClassesLink.style.display = "none";
58  }
59  //-->
60</script>
61</div>
62<div>
63<ul class="subNavList">
64<li>Summary:&nbsp;</li>
65<li>Nested&nbsp;|&nbsp;</li>
66<li>Field&nbsp;|&nbsp;</li>
67<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
68<li><a href="#method_summary">Method</a></li>
69</ul>
70<ul class="subNavList">
71<li>Detail:&nbsp;</li>
72<li>Field&nbsp;|&nbsp;</li>
73<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
74<li><a href="#method_detail">Method</a></li>
75</ul>
76</div>
77<a name="skip-navbar_top">
78<!--   -->
79</a></div>
80<!-- ========= END OF TOP NAVBAR ========= -->
81<!-- ======== START OF CLASS DATA ======== -->
82<div class="header">
83<div class="subTitle">com.fasterxml.jackson.databind.util</div>
84<h2 title="Class ContainerBuilder" class="title">Class ContainerBuilder</h2>
85</div>
86<div class="contentContainer">
87<ul class="inheritance">
88<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
89<li>
90<ul class="inheritance">
91<li>com.fasterxml.jackson.databind.util.ContainerBuilder</li>
92</ul>
93</li>
94</ul>
95<div class="description">
96<ul class="blockList">
97<li class="blockList">
98<hr>
99<br>
100<pre>public final class <span class="strong">ContainerBuilder</span>
101extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
102<div class="block">Helper class used for constructing "untyped" <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a>,
103 <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> and <code>Object[]</code> values.</div>
104<dl><dt><span class="strong">Since:</span></dt>
105  <dd>2.4</dd></dl>
106</li>
107</ul>
108</div>
109<div class="summary">
110<ul class="blockList">
111<li class="blockList">
112<!-- ======== CONSTRUCTOR SUMMARY ======== -->
113<ul class="blockList">
114<li class="blockList"><a name="constructor_summary">
115<!--   -->
116</a>
117<h3>Constructor Summary</h3>
118<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
119<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
120<tr>
121<th class="colOne" scope="col">Constructor and Description</th>
122</tr>
123<tr class="altColor">
124<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ContainerBuilder.html#ContainerBuilder(int)">ContainerBuilder</a></strong>(int&nbsp;bufSize)</code>&nbsp;</td>
125</tr>
126</table>
127</li>
128</ul>
129<!-- ========== METHOD SUMMARY =========== -->
130<ul class="blockList">
131<li class="blockList"><a name="method_summary">
132<!--   -->
133</a>
134<h3>Method Summary</h3>
135<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
136<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
137<tr>
138<th class="colFirst" scope="col">Modifier and Type</th>
139<th class="colLast" scope="col">Method and Description</th>
140</tr>
141<tr class="altColor">
142<td class="colFirst"><code>void</code></td>
143<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ContainerBuilder.html#add(java.lang.Object)">add</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>&nbsp;</td>
144</tr>
145<tr class="rowColor">
146<td class="colFirst"><code>int</code></td>
147<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ContainerBuilder.html#bufferLength()">bufferLength</a></strong>()</code>&nbsp;</td>
148</tr>
149<tr class="altColor">
150<td class="colFirst"><code>boolean</code></td>
151<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ContainerBuilder.html#canReuse()">canReuse</a></strong>()</code>&nbsp;</td>
152</tr>
153<tr class="rowColor">
154<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
155<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ContainerBuilder.html#finishArray(int)">finishArray</a></strong>(int&nbsp;prevStart)</code>&nbsp;</td>
156</tr>
157<tr class="altColor">
158<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
159<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ContainerBuilder.html#finishArray(int, java.lang.Class)">finishArray</a></strong>(int&nbsp;prevStart,
160           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;elemType)</code>&nbsp;</td>
161</tr>
162<tr class="rowColor">
163<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
164<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ContainerBuilder.html#finishList(int)">finishList</a></strong>(int&nbsp;prevStart)</code>&nbsp;</td>
165</tr>
166<tr class="altColor">
167<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
168<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ContainerBuilder.html#finishMap(int)">finishMap</a></strong>(int&nbsp;prevStart)</code>&nbsp;</td>
169</tr>
170<tr class="rowColor">
171<td class="colFirst"><code>void</code></td>
172<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ContainerBuilder.html#put(java.lang.String, java.lang.Object)">put</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
173   <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>&nbsp;</td>
174</tr>
175<tr class="altColor">
176<td class="colFirst"><code>int</code></td>
177<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ContainerBuilder.html#start()">start</a></strong>()</code>&nbsp;</td>
178</tr>
179<tr class="rowColor">
180<td class="colFirst"><code>int</code></td>
181<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ContainerBuilder.html#startList(java.lang.Object)">startList</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>&nbsp;</td>
182</tr>
183<tr class="altColor">
184<td class="colFirst"><code>int</code></td>
185<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ContainerBuilder.html#startMap(java.lang.String, java.lang.Object)">startMap</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
186        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>&nbsp;</td>
187</tr>
188</table>
189<ul class="blockList">
190<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
191<!--   -->
192</a>
193<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
194<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
195</ul>
196</li>
197</ul>
198</li>
199</ul>
200</div>
201<div class="details">
202<ul class="blockList">
203<li class="blockList">
204<!-- ========= CONSTRUCTOR DETAIL ======== -->
205<ul class="blockList">
206<li class="blockList"><a name="constructor_detail">
207<!--   -->
208</a>
209<h3>Constructor Detail</h3>
210<a name="ContainerBuilder(int)">
211<!--   -->
212</a>
213<ul class="blockListLast">
214<li class="blockList">
215<h4>ContainerBuilder</h4>
216<pre>public&nbsp;ContainerBuilder(int&nbsp;bufSize)</pre>
217</li>
218</ul>
219</li>
220</ul>
221<!-- ============ METHOD DETAIL ========== -->
222<ul class="blockList">
223<li class="blockList"><a name="method_detail">
224<!--   -->
225</a>
226<h3>Method Detail</h3>
227<a name="canReuse()">
228<!--   -->
229</a>
230<ul class="blockList">
231<li class="blockList">
232<h4>canReuse</h4>
233<pre>public&nbsp;boolean&nbsp;canReuse()</pre>
234</li>
235</ul>
236<a name="bufferLength()">
237<!--   -->
238</a>
239<ul class="blockList">
240<li class="blockList">
241<h4>bufferLength</h4>
242<pre>public&nbsp;int&nbsp;bufferLength()</pre>
243</li>
244</ul>
245<a name="start()">
246<!--   -->
247</a>
248<ul class="blockList">
249<li class="blockList">
250<h4>start</h4>
251<pre>public&nbsp;int&nbsp;start()</pre>
252</li>
253</ul>
254<a name="startList(java.lang.Object)">
255<!--   -->
256</a>
257<ul class="blockList">
258<li class="blockList">
259<h4>startList</h4>
260<pre>public&nbsp;int&nbsp;startList(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
261</li>
262</ul>
263<a name="startMap(java.lang.String, java.lang.Object)">
264<!--   -->
265</a>
266<ul class="blockList">
267<li class="blockList">
268<h4>startMap</h4>
269<pre>public&nbsp;int&nbsp;startMap(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
270           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
271</li>
272</ul>
273<a name="add(java.lang.Object)">
274<!--   -->
275</a>
276<ul class="blockList">
277<li class="blockList">
278<h4>add</h4>
279<pre>public&nbsp;void&nbsp;add(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
280</li>
281</ul>
282<a name="put(java.lang.String, java.lang.Object)">
283<!--   -->
284</a>
285<ul class="blockList">
286<li class="blockList">
287<h4>put</h4>
288<pre>public&nbsp;void&nbsp;put(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
289       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
290</li>
291</ul>
292<a name="finishList(int)">
293<!--   -->
294</a>
295<ul class="blockList">
296<li class="blockList">
297<h4>finishList</h4>
298<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;finishList(int&nbsp;prevStart)</pre>
299</li>
300</ul>
301<a name="finishArray(int)">
302<!--   -->
303</a>
304<ul class="blockList">
305<li class="blockList">
306<h4>finishArray</h4>
307<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;finishArray(int&nbsp;prevStart)</pre>
308</li>
309</ul>
310<a name="finishArray(int, java.lang.Class)">
311<!--   -->
312</a>
313<ul class="blockList">
314<li class="blockList">
315<h4>finishArray</h4>
316<pre>public&nbsp;&lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;finishArray(int&nbsp;prevStart,
317                       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;elemType)</pre>
318</li>
319</ul>
320<a name="finishMap(int)">
321<!--   -->
322</a>
323<ul class="blockListLast">
324<li class="blockList">
325<h4>finishMap</h4>
326<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;finishMap(int&nbsp;prevStart)</pre>
327</li>
328</ul>
329</li>
330</ul>
331</li>
332</ul>
333</div>
334</div>
335<!-- ========= END OF CLASS DATA ========= -->
336<!-- ======= START OF BOTTOM NAVBAR ====== -->
337<div class="bottomNav"><a name="navbar_bottom">
338<!--   -->
339</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
340<!--   -->
341</a>
342<ul class="navList" title="Navigation">
343<li><a href="../../../../../overview-summary.html">Overview</a></li>
344<li><a href="package-summary.html">Package</a></li>
345<li class="navBarCell1Rev">Class</li>
346<li><a href="class-use/ContainerBuilder.html">Use</a></li>
347<li><a href="package-tree.html">Tree</a></li>
348<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
349<li><a href="../../../../../index-all.html">Index</a></li>
350<li><a href="../../../../../help-doc.html">Help</a></li>
351</ul>
352</div>
353<div class="subNav">
354<ul class="navList">
355<li><a href="../../../../../com/fasterxml/jackson/databind/util/ClassUtil.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Prev Class</span></a></li>
356<li><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util"><span class="strong">Next Class</span></a></li>
357</ul>
358<ul class="navList">
359<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/ContainerBuilder.html" target="_top">Frames</a></li>
360<li><a href="ContainerBuilder.html" target="_top">No Frames</a></li>
361</ul>
362<ul class="navList" id="allclasses_navbar_bottom">
363<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
364</ul>
365<div>
366<script type="text/javascript"><!--
367  allClassesLink = document.getElementById("allclasses_navbar_bottom");
368  if(window==top) {
369    allClassesLink.style.display = "block";
370  }
371  else {
372    allClassesLink.style.display = "none";
373  }
374  //-->
375</script>
376</div>
377<div>
378<ul class="subNavList">
379<li>Summary:&nbsp;</li>
380<li>Nested&nbsp;|&nbsp;</li>
381<li>Field&nbsp;|&nbsp;</li>
382<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
383<li><a href="#method_summary">Method</a></li>
384</ul>
385<ul class="subNavList">
386<li>Detail:&nbsp;</li>
387<li>Field&nbsp;|&nbsp;</li>
388<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
389<li><a href="#method_detail">Method</a></li>
390</ul>
391</div>
392<a name="skip-navbar_bottom">
393<!--   -->
394</a></div>
395<!-- ======== END OF BOTTOM NAVBAR ======= -->
396<p class="legalCopy"><small>Copyright &#169; 2014 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
397</body>
398</html>
399