• 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 (1.8.0) on Sun Jul 19 11:36:54 PDT 2015 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>ArrayBuilders (jackson-databind 2.6.0 API)</title>
8<meta name="date" content="2015-07-19">
9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10<script type="text/javascript" src="../../../../../script.js"></script>
11</head>
12<body>
13<script type="text/javascript"><!--
14    try {
15        if (location.href.indexOf('is-external=true') == -1) {
16            parent.document.title="ArrayBuilders (jackson-databind 2.6.0 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":9,"i12":9,"i13":9};
23var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
24var altColor = "altColor";
25var rowColor = "rowColor";
26var tableTab = "tableTab";
27var activeTableTab = "activeTableTab";
28</script>
29<noscript>
30<div>JavaScript is disabled on your browser.</div>
31</noscript>
32<!-- ========= START OF TOP NAVBAR ======= -->
33<div class="topNav"><a name="navbar.top">
34<!--   -->
35</a>
36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37<a name="navbar.top.firstrow">
38<!--   -->
39</a>
40<ul class="navList" title="Navigation">
41<li><a href="../../../../../overview-summary.html">Overview</a></li>
42<li><a href="package-summary.html">Package</a></li>
43<li class="navBarCell1Rev">Class</li>
44<li><a href="class-use/ArrayBuilders.html">Use</a></li>
45<li><a href="package-tree.html">Tree</a></li>
46<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
47<li><a href="../../../../../index-all.html">Index</a></li>
48<li><a href="../../../../../help-doc.html">Help</a></li>
49</ul>
50</div>
51<div class="subNav">
52<ul class="navList">
53<li><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54<li><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.BooleanBuilder.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
55</ul>
56<ul class="navList">
57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/ArrayBuilders.html" target="_top">Frames</a></li>
58<li><a href="ArrayBuilders.html" target="_top">No&nbsp;Frames</a></li>
59</ul>
60<ul class="navList" id="allclasses_navbar_top">
61<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
62</ul>
63<div>
64<script type="text/javascript"><!--
65  allClassesLink = document.getElementById("allclasses_navbar_top");
66  if(window==top) {
67    allClassesLink.style.display = "block";
68  }
69  else {
70    allClassesLink.style.display = "none";
71  }
72  //-->
73</script>
74</div>
75<div>
76<ul class="subNavList">
77<li>Summary:&nbsp;</li>
78<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
79<li>Field&nbsp;|&nbsp;</li>
80<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
81<li><a href="#method.summary">Method</a></li>
82</ul>
83<ul class="subNavList">
84<li>Detail:&nbsp;</li>
85<li>Field&nbsp;|&nbsp;</li>
86<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
87<li><a href="#method.detail">Method</a></li>
88</ul>
89</div>
90<a name="skip.navbar.top">
91<!--   -->
92</a></div>
93<!-- ========= END OF TOP NAVBAR ========= -->
94<!-- ======== START OF CLASS DATA ======== -->
95<div class="header">
96<div class="subTitle">com.fasterxml.jackson.databind.util</div>
97<h2 title="Class ArrayBuilders" class="title">Class ArrayBuilders</h2>
98</div>
99<div class="contentContainer">
100<ul class="inheritance">
101<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>
102<li>
103<ul class="inheritance">
104<li>com.fasterxml.jackson.databind.util.ArrayBuilders</li>
105</ul>
106</li>
107</ul>
108<div class="description">
109<ul class="blockList">
110<li class="blockList">
111<hr>
112<br>
113<pre>public final class <span class="typeNameLabel">ArrayBuilders</span>
114extends <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>
115<div class="block">Helper class that contains set of distinct builders for different
116 arrays of primitive values. It also provides trivially simple
117 reuse scheme, which assumes that caller knows not to use instances
118 concurrently (which works ok with primitive arrays since they can
119 not contain other non-primitive types).
120 Also note that instances are not thread safe; the intent is that
121 a builder is constructed on per-call (deserialization) basis.</div>
122</li>
123</ul>
124</div>
125<div class="summary">
126<ul class="blockList">
127<li class="blockList">
128<!-- ======== NESTED CLASS SUMMARY ======== -->
129<ul class="blockList">
130<li class="blockList"><a name="nested.class.summary">
131<!--   -->
132</a>
133<h3>Nested Class Summary</h3>
134<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
135<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
136<tr>
137<th class="colFirst" scope="col">Modifier and Type</th>
138<th class="colLast" scope="col">Class and Description</th>
139</tr>
140<tr class="altColor">
141<td class="colFirst"><code>static class&nbsp;</code></td>
142<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.BooleanBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.BooleanBuilder</a></span></code>&nbsp;</td>
143</tr>
144<tr class="rowColor">
145<td class="colFirst"><code>static class&nbsp;</code></td>
146<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.ByteBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.ByteBuilder</a></span></code>&nbsp;</td>
147</tr>
148<tr class="altColor">
149<td class="colFirst"><code>static class&nbsp;</code></td>
150<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.DoubleBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.DoubleBuilder</a></span></code>&nbsp;</td>
151</tr>
152<tr class="rowColor">
153<td class="colFirst"><code>static class&nbsp;</code></td>
154<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.FloatBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.FloatBuilder</a></span></code>&nbsp;</td>
155</tr>
156<tr class="altColor">
157<td class="colFirst"><code>static class&nbsp;</code></td>
158<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.IntBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.IntBuilder</a></span></code>&nbsp;</td>
159</tr>
160<tr class="rowColor">
161<td class="colFirst"><code>static class&nbsp;</code></td>
162<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.LongBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.LongBuilder</a></span></code>&nbsp;</td>
163</tr>
164<tr class="altColor">
165<td class="colFirst"><code>static class&nbsp;</code></td>
166<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.ShortBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.ShortBuilder</a></span></code>&nbsp;</td>
167</tr>
168</table>
169</li>
170</ul>
171<!-- ======== CONSTRUCTOR SUMMARY ======== -->
172<ul class="blockList">
173<li class="blockList"><a name="constructor.summary">
174<!--   -->
175</a>
176<h3>Constructor Summary</h3>
177<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
178<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
179<tr>
180<th class="colOne" scope="col">Constructor and Description</th>
181</tr>
182<tr class="altColor">
183<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#ArrayBuilders--">ArrayBuilders</a></span>()</code>&nbsp;</td>
184</tr>
185</table>
186</li>
187</ul>
188<!-- ========== METHOD SUMMARY =========== -->
189<ul class="blockList">
190<li class="blockList"><a name="method.summary">
191<!--   -->
192</a>
193<h3>Method Summary</h3>
194<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
195<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
196<tr>
197<th class="colFirst" scope="col">Modifier and Type</th>
198<th class="colLast" scope="col">Method and Description</th>
199</tr>
200<tr id="i0" class="altColor">
201<td class="colFirst"><code>static &lt;T&gt;&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;T&gt;</code></td>
202<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#addToList-java.util.List-T-">addToList</a></span>(<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;T&gt;&nbsp;list,
203         T&nbsp;element)</code>
204<div class="block">Helper method for adding specified element to a List, but also
205 considering case where the List may not have been yet constructed
206 (that is, null is passed instead).</div>
207</td>
208</tr>
209<tr id="i1" class="rowColor">
210<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;T&gt;</code></td>
211<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#arrayToList-T:A-">arrayToList</a></span>(T[]&nbsp;elements)</code>&nbsp;</td>
212</tr>
213<tr id="i2" class="altColor">
214<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;T&gt;</code></td>
215<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#arrayToSet-T:A-">arrayToSet</a></span>(T[]&nbsp;elements)</code>&nbsp;</td>
216</tr>
217<tr id="i3" class="rowColor">
218<td class="colFirst"><code>static <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>
219<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#getArrayComparator-java.lang.Object-">getArrayComparator</a></span>(<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;defaultValue)</code>
220<div class="block">Helper method used for constructing simple value comparator used for
221 comparing arrays for content equality.</div>
222</td>
223</tr>
224<tr id="i4" class="altColor">
225<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.BooleanBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.BooleanBuilder</a></code></td>
226<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#getBooleanBuilder--">getBooleanBuilder</a></span>()</code>&nbsp;</td>
227</tr>
228<tr id="i5" class="rowColor">
229<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.ByteBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.ByteBuilder</a></code></td>
230<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#getByteBuilder--">getByteBuilder</a></span>()</code>&nbsp;</td>
231</tr>
232<tr id="i6" class="altColor">
233<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.DoubleBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.DoubleBuilder</a></code></td>
234<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#getDoubleBuilder--">getDoubleBuilder</a></span>()</code>&nbsp;</td>
235</tr>
236<tr id="i7" class="rowColor">
237<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.FloatBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.FloatBuilder</a></code></td>
238<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#getFloatBuilder--">getFloatBuilder</a></span>()</code>&nbsp;</td>
239</tr>
240<tr id="i8" class="altColor">
241<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.IntBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.IntBuilder</a></code></td>
242<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#getIntBuilder--">getIntBuilder</a></span>()</code>&nbsp;</td>
243</tr>
244<tr id="i9" class="rowColor">
245<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.LongBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.LongBuilder</a></code></td>
246<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#getLongBuilder--">getLongBuilder</a></span>()</code>&nbsp;</td>
247</tr>
248<tr id="i10" class="altColor">
249<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.ShortBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.ShortBuilder</a></code></td>
250<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#getShortBuilder--">getShortBuilder</a></span>()</code>&nbsp;</td>
251</tr>
252<tr id="i11" class="rowColor">
253<td class="colFirst"><code>static &lt;T&gt;&nbsp;T[]</code></td>
254<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#insertInList-T:A-T-">insertInList</a></span>(T[]&nbsp;array,
255            T&nbsp;element)</code>
256<div class="block">Helper method for constructing a new array that contains specified
257 element followed by contents of the given array.</div>
258</td>
259</tr>
260<tr id="i12" class="altColor">
261<td class="colFirst"><code>static &lt;T&gt;&nbsp;T[]</code></td>
262<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#insertInListNoDup-T:A-T-">insertInListNoDup</a></span>(T[]&nbsp;array,
263                 T&nbsp;element)</code>
264<div class="block">Helper method for constructing a new array that contains specified
265 element followed by contents of the given array but never contains
266 duplicates.</div>
267</td>
268</tr>
269<tr id="i13" class="rowColor">
270<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;T&gt;</code></td>
271<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#setAndArray-java.util.Set-T:A-">setAndArray</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;T&gt;&nbsp;set,
272           T[]&nbsp;elements)</code>&nbsp;</td>
273</tr>
274</table>
275<ul class="blockList">
276<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
277<!--   -->
278</a>
279<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>
280<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>
281</ul>
282</li>
283</ul>
284</li>
285</ul>
286</div>
287<div class="details">
288<ul class="blockList">
289<li class="blockList">
290<!-- ========= CONSTRUCTOR DETAIL ======== -->
291<ul class="blockList">
292<li class="blockList"><a name="constructor.detail">
293<!--   -->
294</a>
295<h3>Constructor Detail</h3>
296<a name="ArrayBuilders--">
297<!--   -->
298</a>
299<ul class="blockListLast">
300<li class="blockList">
301<h4>ArrayBuilders</h4>
302<pre>public&nbsp;ArrayBuilders()</pre>
303</li>
304</ul>
305</li>
306</ul>
307<!-- ============ METHOD DETAIL ========== -->
308<ul class="blockList">
309<li class="blockList"><a name="method.detail">
310<!--   -->
311</a>
312<h3>Method Detail</h3>
313<a name="getBooleanBuilder--">
314<!--   -->
315</a>
316<ul class="blockList">
317<li class="blockList">
318<h4>getBooleanBuilder</h4>
319<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.BooleanBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.BooleanBuilder</a>&nbsp;getBooleanBuilder()</pre>
320</li>
321</ul>
322<a name="getByteBuilder--">
323<!--   -->
324</a>
325<ul class="blockList">
326<li class="blockList">
327<h4>getByteBuilder</h4>
328<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.ByteBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.ByteBuilder</a>&nbsp;getByteBuilder()</pre>
329</li>
330</ul>
331<a name="getShortBuilder--">
332<!--   -->
333</a>
334<ul class="blockList">
335<li class="blockList">
336<h4>getShortBuilder</h4>
337<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.ShortBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.ShortBuilder</a>&nbsp;getShortBuilder()</pre>
338</li>
339</ul>
340<a name="getIntBuilder--">
341<!--   -->
342</a>
343<ul class="blockList">
344<li class="blockList">
345<h4>getIntBuilder</h4>
346<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.IntBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.IntBuilder</a>&nbsp;getIntBuilder()</pre>
347</li>
348</ul>
349<a name="getLongBuilder--">
350<!--   -->
351</a>
352<ul class="blockList">
353<li class="blockList">
354<h4>getLongBuilder</h4>
355<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.LongBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.LongBuilder</a>&nbsp;getLongBuilder()</pre>
356</li>
357</ul>
358<a name="getFloatBuilder--">
359<!--   -->
360</a>
361<ul class="blockList">
362<li class="blockList">
363<h4>getFloatBuilder</h4>
364<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.FloatBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.FloatBuilder</a>&nbsp;getFloatBuilder()</pre>
365</li>
366</ul>
367<a name="getDoubleBuilder--">
368<!--   -->
369</a>
370<ul class="blockList">
371<li class="blockList">
372<h4>getDoubleBuilder</h4>
373<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.DoubleBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.DoubleBuilder</a>&nbsp;getDoubleBuilder()</pre>
374</li>
375</ul>
376<a name="getArrayComparator-java.lang.Object-">
377<!--   -->
378</a>
379<ul class="blockList">
380<li class="blockList">
381<h4>getArrayComparator</h4>
382<pre>public static&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;getArrayComparator(<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;defaultValue)</pre>
383<div class="block">Helper method used for constructing simple value comparator used for
384 comparing arrays for content equality.
385<p>
386 Note: current implementation is not optimized for speed; if performance
387 ever becomes an issue, it is possible to construct much more efficient
388 typed instances (one for Object[] and sub-types; one per primitive type).</div>
389<dl>
390<dt><span class="simpleTagLabel">Since:</span></dt>
391<dd>2.2 Moved from earlier <code>Comparators</code> class</dd>
392</dl>
393</li>
394</ul>
395<a name="arrayToSet-java.lang.Object:A-">
396<!--   -->
397</a><a name="arrayToSet-T:A-">
398<!--   -->
399</a>
400<ul class="blockList">
401<li class="blockList">
402<h4>arrayToSet</h4>
403<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;T&gt;&nbsp;arrayToSet(T[]&nbsp;elements)</pre>
404</li>
405</ul>
406<a name="arrayToList-java.lang.Object:A-">
407<!--   -->
408</a><a name="arrayToList-T:A-">
409<!--   -->
410</a>
411<ul class="blockList">
412<li class="blockList">
413<h4>arrayToList</h4>
414<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;T&gt;&nbsp;arrayToList(T[]&nbsp;elements)</pre>
415</li>
416</ul>
417<a name="setAndArray-java.util.Set-java.lang.Object:A-">
418<!--   -->
419</a><a name="setAndArray-java.util.Set-T:A-">
420<!--   -->
421</a>
422<ul class="blockList">
423<li class="blockList">
424<h4>setAndArray</h4>
425<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;T&gt;&nbsp;setAndArray(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;T&gt;&nbsp;set,
426                                         T[]&nbsp;elements)</pre>
427</li>
428</ul>
429<a name="addToList-java.util.List-java.lang.Object-">
430<!--   -->
431</a><a name="addToList-java.util.List-T-">
432<!--   -->
433</a>
434<ul class="blockList">
435<li class="blockList">
436<h4>addToList</h4>
437<pre>public static&nbsp;&lt;T&gt;&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;T&gt;&nbsp;addToList(<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;T&gt;&nbsp;list,
438                                    T&nbsp;element)</pre>
439<div class="block">Helper method for adding specified element to a List, but also
440 considering case where the List may not have been yet constructed
441 (that is, null is passed instead).</div>
442<dl>
443<dt><span class="paramLabel">Parameters:</span></dt>
444<dd><code>list</code> - List to add to; may be null to indicate that a new
445    List is to be constructed</dd>
446<dd><code>element</code> - Element to add to list</dd>
447<dt><span class="returnLabel">Returns:</span></dt>
448<dd>List in which element was added; either <code>list</code>
449   (if it was not null), or a newly constructed List.</dd>
450</dl>
451</li>
452</ul>
453<a name="insertInList-java.lang.Object:A-java.lang.Object-">
454<!--   -->
455</a><a name="insertInList-T:A-T-">
456<!--   -->
457</a>
458<ul class="blockList">
459<li class="blockList">
460<h4>insertInList</h4>
461<pre>public static&nbsp;&lt;T&gt;&nbsp;T[]&nbsp;insertInList(T[]&nbsp;array,
462                                   T&nbsp;element)</pre>
463<div class="block">Helper method for constructing a new array that contains specified
464 element followed by contents of the given array. No checking is done
465 to see if element being inserted is duplicate.</div>
466</li>
467</ul>
468<a name="insertInListNoDup-java.lang.Object:A-java.lang.Object-">
469<!--   -->
470</a><a name="insertInListNoDup-T:A-T-">
471<!--   -->
472</a>
473<ul class="blockListLast">
474<li class="blockList">
475<h4>insertInListNoDup</h4>
476<pre>public static&nbsp;&lt;T&gt;&nbsp;T[]&nbsp;insertInListNoDup(T[]&nbsp;array,
477                                        T&nbsp;element)</pre>
478<div class="block">Helper method for constructing a new array that contains specified
479 element followed by contents of the given array but never contains
480 duplicates.
481 If element already existed, one of two things happens: if the element
482 was already the first one in array, array is returned as is; but
483 if not, a new copy is created in which element has moved as the head.</div>
484</li>
485</ul>
486</li>
487</ul>
488</li>
489</ul>
490</div>
491</div>
492<!-- ========= END OF CLASS DATA ========= -->
493<!-- ======= START OF BOTTOM NAVBAR ====== -->
494<div class="bottomNav"><a name="navbar.bottom">
495<!--   -->
496</a>
497<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
498<a name="navbar.bottom.firstrow">
499<!--   -->
500</a>
501<ul class="navList" title="Navigation">
502<li><a href="../../../../../overview-summary.html">Overview</a></li>
503<li><a href="package-summary.html">Package</a></li>
504<li class="navBarCell1Rev">Class</li>
505<li><a href="class-use/ArrayBuilders.html">Use</a></li>
506<li><a href="package-tree.html">Tree</a></li>
507<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
508<li><a href="../../../../../index-all.html">Index</a></li>
509<li><a href="../../../../../help-doc.html">Help</a></li>
510</ul>
511</div>
512<div class="subNav">
513<ul class="navList">
514<li><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
515<li><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.BooleanBuilder.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
516</ul>
517<ul class="navList">
518<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/ArrayBuilders.html" target="_top">Frames</a></li>
519<li><a href="ArrayBuilders.html" target="_top">No&nbsp;Frames</a></li>
520</ul>
521<ul class="navList" id="allclasses_navbar_bottom">
522<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
523</ul>
524<div>
525<script type="text/javascript"><!--
526  allClassesLink = document.getElementById("allclasses_navbar_bottom");
527  if(window==top) {
528    allClassesLink.style.display = "block";
529  }
530  else {
531    allClassesLink.style.display = "none";
532  }
533  //-->
534</script>
535</div>
536<div>
537<ul class="subNavList">
538<li>Summary:&nbsp;</li>
539<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
540<li>Field&nbsp;|&nbsp;</li>
541<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
542<li><a href="#method.summary">Method</a></li>
543</ul>
544<ul class="subNavList">
545<li>Detail:&nbsp;</li>
546<li>Field&nbsp;|&nbsp;</li>
547<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
548<li><a href="#method.detail">Method</a></li>
549</ul>
550</div>
551<a name="skip.navbar.bottom">
552<!--   -->
553</a></div>
554<!-- ======== END OF BOTTOM NAVBAR ======= -->
555<p class="legalCopy"><small>Copyright &#169; 2014&#x2013;2015 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
556</body>
557</html>
558