• 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>
4<HEAD>
5<!-- Generated by javadoc (build 1.6.0_35) on Tue Oct 09 17:08:21 PDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<TITLE>
8ArrayBuilders (jackson-databind 2.1.0 API)
9</TITLE>
10
11<META NAME="date" CONTENT="2012-10-09">
12
13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
14
15<SCRIPT type="text/javascript">
16function windowTitle()
17{
18    if (location.href.indexOf('is-external=true') == -1) {
19        parent.document.title="ArrayBuilders (jackson-databind 2.1.0 API)";
20    }
21}
22</SCRIPT>
23<NOSCRIPT>
24</NOSCRIPT>
25
26</HEAD>
27
28<BODY BGCOLOR="white" onload="windowTitle();">
29<HR>
30
31
32<!-- ========= START OF TOP NAVBAR ======= -->
33<A NAME="navbar_top"><!-- --></A>
34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36<TR>
37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38<A NAME="navbar_top_firstrow"><!-- --></A>
39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40  <TR ALIGN="center" VALIGN="top">
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ArrayBuilders.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
48  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
49  </TR>
50</TABLE>
51</TD>
52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
53</EM>
54</TD>
55</TR>
56
57<TR>
58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util"><B>PREV CLASS</B></A>&nbsp;
60&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.BooleanBuilder.html" title="class in com.fasterxml.jackson.databind.util"><B>NEXT CLASS</B></A></FONT></TD>
61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
62  <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/util/ArrayBuilders.html" target="_top"><B>FRAMES</B></A>  &nbsp;
63&nbsp;<A HREF="ArrayBuilders.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
64&nbsp;<SCRIPT type="text/javascript">
65  <!--
66  if(window==top) {
67    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
68  }
69  //-->
70</SCRIPT>
71<NOSCRIPT>
72  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
73</NOSCRIPT>
74
75
76</FONT></TD>
77</TR>
78<TR>
79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
82DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
83</TR>
84</TABLE>
85<A NAME="skip-navbar_top"></A>
86<!-- ========= END OF TOP NAVBAR ========= -->
87
88<HR>
89<!-- ======== START OF CLASS DATA ======== -->
90<H2>
91<FONT SIZE="-1">
92com.fasterxml.jackson.databind.util</FONT>
93<BR>
94Class ArrayBuilders</H2>
95<PRE>
96<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>
97  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.util.ArrayBuilders</B>
98</PRE>
99<HR>
100<DL>
101<DT><PRE>public final class <B>ArrayBuilders</B><DT>extends <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></DL>
102</PRE>
103
104<P>
105Helper class that contains set of distinct builders for different
106 arrays of primitive values. It also provides trivially simple
107 reuse scheme, which assumes that caller knows not to use instances
108 concurrently (which works ok with primitive arrays since they can
109 not contain other non-primitive types).
110<P>
111
112<P>
113<HR>
114
115<P>
116<!-- ======== NESTED CLASS SUMMARY ======== -->
117
118<A NAME="nested_class_summary"><!-- --></A>
119<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
122<B>Nested Class Summary</B></FONT></TH>
123</TR>
124<TR BGCOLOR="white" CLASS="TableRowColor">
125<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
126<CODE>static&nbsp;class</CODE></FONT></TD>
127<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.BooleanBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.BooleanBuilder</A></B></CODE>
128
129<BR>
130&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
131</TR>
132<TR BGCOLOR="white" CLASS="TableRowColor">
133<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134<CODE>static&nbsp;class</CODE></FONT></TD>
135<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.ByteBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.ByteBuilder</A></B></CODE>
136
137<BR>
138&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
139</TR>
140<TR BGCOLOR="white" CLASS="TableRowColor">
141<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
142<CODE>static&nbsp;class</CODE></FONT></TD>
143<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.DoubleBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.DoubleBuilder</A></B></CODE>
144
145<BR>
146&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
147</TR>
148<TR BGCOLOR="white" CLASS="TableRowColor">
149<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150<CODE>static&nbsp;class</CODE></FONT></TD>
151<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.FloatBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.FloatBuilder</A></B></CODE>
152
153<BR>
154&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
155</TR>
156<TR BGCOLOR="white" CLASS="TableRowColor">
157<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158<CODE>static&nbsp;class</CODE></FONT></TD>
159<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.IntBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.IntBuilder</A></B></CODE>
160
161<BR>
162&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
163</TR>
164<TR BGCOLOR="white" CLASS="TableRowColor">
165<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166<CODE>static&nbsp;class</CODE></FONT></TD>
167<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.LongBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.LongBuilder</A></B></CODE>
168
169<BR>
170&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
171</TR>
172<TR BGCOLOR="white" CLASS="TableRowColor">
173<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174<CODE>static&nbsp;class</CODE></FONT></TD>
175<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.ShortBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.ShortBuilder</A></B></CODE>
176
177<BR>
178&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
179</TR>
180</TABLE>
181&nbsp;
182<!-- ======== CONSTRUCTOR SUMMARY ======== -->
183
184<A NAME="constructor_summary"><!-- --></A>
185<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
186<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
187<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
188<B>Constructor Summary</B></FONT></TH>
189</TR>
190<TR BGCOLOR="white" CLASS="TableRowColor">
191<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#ArrayBuilders()">ArrayBuilders</A></B>()</CODE>
192
193<BR>
194&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
195</TR>
196</TABLE>
197&nbsp;
198<!-- ========== METHOD SUMMARY =========== -->
199
200<A NAME="method_summary"><!-- --></A>
201<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
202<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
203<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
204<B>Method Summary</B></FONT></TH>
205</TR>
206<TR BGCOLOR="white" CLASS="TableRowColor">
207<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
208<CODE>static
209<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
210<TR ALIGN="right" VALIGN="">
211<TD NOWRAP><FONT SIZE="-1">
212<CODE>&lt;T&gt; <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></FONT></TD>
213</TR>
214</TABLE>
215</CODE></FONT></TD>
216<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#addToList(java.util.List, T)">addToList</A></B>(<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,
217          T&nbsp;element)</CODE>
218
219<BR>
220&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Helper method for adding specified element to a List, but also
221 considering case where the List may not have been yet constructed
222 (that is, null is passed instead).</TD>
223</TR>
224<TR BGCOLOR="white" CLASS="TableRowColor">
225<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
226<CODE>static
227<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
228<TR ALIGN="right" VALIGN="">
229<TD NOWRAP><FONT SIZE="-1">
230<CODE>&lt;T&gt; <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;T&gt;</CODE></FONT></TD>
231</TR>
232</TABLE>
233</CODE></FONT></TD>
234<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#arrayAsIterable(T[])">arrayAsIterable</A></B>(T[]&nbsp;array)</CODE>
235
236<BR>
237&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
238</TR>
239<TR BGCOLOR="white" CLASS="TableRowColor">
240<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
241<CODE>static
242<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
243<TR ALIGN="right" VALIGN="">
244<TD NOWRAP><FONT SIZE="-1">
245<CODE>&lt;T&gt; <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;T&gt;</CODE></FONT></TD>
246</TR>
247</TABLE>
248</CODE></FONT></TD>
249<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#arrayAsIterator(T[])">arrayAsIterator</A></B>(T[]&nbsp;array)</CODE>
250
251<BR>
252&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Helper method for exposing contents of arrays using a read-only iterator</TD>
253</TR>
254<TR BGCOLOR="white" CLASS="TableRowColor">
255<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
256<CODE>static
257<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
258<TR ALIGN="right" VALIGN="">
259<TD NOWRAP><FONT SIZE="-1">
260<CODE>&lt;T&gt; <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></FONT></TD>
261</TR>
262</TABLE>
263</CODE></FONT></TD>
264<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#arrayToList(T[])">arrayToList</A></B>(T[]&nbsp;elements)</CODE>
265
266<BR>
267&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
268</TR>
269<TR BGCOLOR="white" CLASS="TableRowColor">
270<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
271<CODE>static
272<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
273<TR ALIGN="right" VALIGN="">
274<TD NOWRAP><FONT SIZE="-1">
275<CODE>&lt;T&gt; <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></FONT></TD>
276</TR>
277</TABLE>
278</CODE></FONT></TD>
279<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#arrayToSet(T[])">arrayToSet</A></B>(T[]&nbsp;elements)</CODE>
280
281<BR>
282&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
283</TR>
284<TR BGCOLOR="white" CLASS="TableRowColor">
285<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
286<CODE>&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.BooleanBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.BooleanBuilder</A></CODE></FONT></TD>
287<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#getBooleanBuilder()">getBooleanBuilder</A></B>()</CODE>
288
289<BR>
290&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
291</TR>
292<TR BGCOLOR="white" CLASS="TableRowColor">
293<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
294<CODE>&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.ByteBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.ByteBuilder</A></CODE></FONT></TD>
295<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#getByteBuilder()">getByteBuilder</A></B>()</CODE>
296
297<BR>
298&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
299</TR>
300<TR BGCOLOR="white" CLASS="TableRowColor">
301<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
302<CODE>&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.DoubleBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.DoubleBuilder</A></CODE></FONT></TD>
303<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#getDoubleBuilder()">getDoubleBuilder</A></B>()</CODE>
304
305<BR>
306&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
307</TR>
308<TR BGCOLOR="white" CLASS="TableRowColor">
309<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
310<CODE>&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.FloatBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.FloatBuilder</A></CODE></FONT></TD>
311<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#getFloatBuilder()">getFloatBuilder</A></B>()</CODE>
312
313<BR>
314&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
315</TR>
316<TR BGCOLOR="white" CLASS="TableRowColor">
317<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
318<CODE>&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.IntBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.IntBuilder</A></CODE></FONT></TD>
319<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#getIntBuilder()">getIntBuilder</A></B>()</CODE>
320
321<BR>
322&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
323</TR>
324<TR BGCOLOR="white" CLASS="TableRowColor">
325<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
326<CODE>&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.LongBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.LongBuilder</A></CODE></FONT></TD>
327<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#getLongBuilder()">getLongBuilder</A></B>()</CODE>
328
329<BR>
330&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
331</TR>
332<TR BGCOLOR="white" CLASS="TableRowColor">
333<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
334<CODE>&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.ShortBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.ShortBuilder</A></CODE></FONT></TD>
335<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#getShortBuilder()">getShortBuilder</A></B>()</CODE>
336
337<BR>
338&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
339</TR>
340<TR BGCOLOR="white" CLASS="TableRowColor">
341<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
342<CODE>static
343<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
344<TR ALIGN="right" VALIGN="">
345<TD NOWRAP><FONT SIZE="-1">
346<CODE>&lt;T&gt; T[]</CODE></FONT></TD>
347</TR>
348</TABLE>
349</CODE></FONT></TD>
350<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#insertInList(T[], T)">insertInList</A></B>(T[]&nbsp;array,
351             T&nbsp;element)</CODE>
352
353<BR>
354&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Helper method for constructing a new array that contains specified
355 element followed by contents of the given array.</TD>
356</TR>
357<TR BGCOLOR="white" CLASS="TableRowColor">
358<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
359<CODE>static
360<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
361<TR ALIGN="right" VALIGN="">
362<TD NOWRAP><FONT SIZE="-1">
363<CODE>&lt;T&gt; T[]</CODE></FONT></TD>
364</TR>
365</TABLE>
366</CODE></FONT></TD>
367<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#insertInListNoDup(T[], T)">insertInListNoDup</A></B>(T[]&nbsp;array,
368                  T&nbsp;element)</CODE>
369
370<BR>
371&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Helper method for constructing a new array that contains specified
372 element followed by contents of the given array but never contains
373 duplicates.</TD>
374</TR>
375<TR BGCOLOR="white" CLASS="TableRowColor">
376<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
377<CODE>static
378<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
379<TR ALIGN="right" VALIGN="">
380<TD NOWRAP><FONT SIZE="-1">
381<CODE>&lt;T&gt; <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></FONT></TD>
382</TR>
383</TABLE>
384</CODE></FONT></TD>
385<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html#setAndArray(java.util.Set, T[])">setAndArray</A></B>(<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,
386            T[]&nbsp;elements)</CODE>
387
388<BR>
389&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
390</TR>
391</TABLE>
392&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
393<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
394<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
395<TH ALIGN="left"><B>Methods inherited from class 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></B></TH>
396</TR>
397<TR BGCOLOR="white" CLASS="TableRowColor">
398<TD><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></TD>
399</TR>
400</TABLE>
401&nbsp;
402<P>
403
404<!-- ========= CONSTRUCTOR DETAIL ======== -->
405
406<A NAME="constructor_detail"><!-- --></A>
407<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
408<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
409<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
410<B>Constructor Detail</B></FONT></TH>
411</TR>
412</TABLE>
413
414<A NAME="ArrayBuilders()"><!-- --></A><H3>
415ArrayBuilders</H3>
416<PRE>
417public <B>ArrayBuilders</B>()</PRE>
418<DL>
419</DL>
420
421<!-- ============ METHOD DETAIL ========== -->
422
423<A NAME="method_detail"><!-- --></A>
424<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
425<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
426<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
427<B>Method Detail</B></FONT></TH>
428</TR>
429</TABLE>
430
431<A NAME="getBooleanBuilder()"><!-- --></A><H3>
432getBooleanBuilder</H3>
433<PRE>
434public <A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.BooleanBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.BooleanBuilder</A> <B>getBooleanBuilder</B>()</PRE>
435<DL>
436<DD><DL>
437</DL>
438</DD>
439</DL>
440<HR>
441
442<A NAME="getByteBuilder()"><!-- --></A><H3>
443getByteBuilder</H3>
444<PRE>
445public <A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.ByteBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.ByteBuilder</A> <B>getByteBuilder</B>()</PRE>
446<DL>
447<DD><DL>
448</DL>
449</DD>
450</DL>
451<HR>
452
453<A NAME="getShortBuilder()"><!-- --></A><H3>
454getShortBuilder</H3>
455<PRE>
456public <A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.ShortBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.ShortBuilder</A> <B>getShortBuilder</B>()</PRE>
457<DL>
458<DD><DL>
459</DL>
460</DD>
461</DL>
462<HR>
463
464<A NAME="getIntBuilder()"><!-- --></A><H3>
465getIntBuilder</H3>
466<PRE>
467public <A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.IntBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.IntBuilder</A> <B>getIntBuilder</B>()</PRE>
468<DL>
469<DD><DL>
470</DL>
471</DD>
472</DL>
473<HR>
474
475<A NAME="getLongBuilder()"><!-- --></A><H3>
476getLongBuilder</H3>
477<PRE>
478public <A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.LongBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.LongBuilder</A> <B>getLongBuilder</B>()</PRE>
479<DL>
480<DD><DL>
481</DL>
482</DD>
483</DL>
484<HR>
485
486<A NAME="getFloatBuilder()"><!-- --></A><H3>
487getFloatBuilder</H3>
488<PRE>
489public <A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.FloatBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.FloatBuilder</A> <B>getFloatBuilder</B>()</PRE>
490<DL>
491<DD><DL>
492</DL>
493</DD>
494</DL>
495<HR>
496
497<A NAME="getDoubleBuilder()"><!-- --></A><H3>
498getDoubleBuilder</H3>
499<PRE>
500public <A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.DoubleBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.DoubleBuilder</A> <B>getDoubleBuilder</B>()</PRE>
501<DL>
502<DD><DL>
503</DL>
504</DD>
505</DL>
506<HR>
507
508<A NAME="arrayToSet(java.lang.Object[])"><!-- --></A><A NAME="arrayToSet(T[])"><!-- --></A><H3>
509arrayToSet</H3>
510<PRE>
511public static &lt;T&gt; <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; <B>arrayToSet</B>(T[]&nbsp;elements)</PRE>
512<DL>
513<DD><DL>
514</DL>
515</DD>
516</DL>
517<HR>
518
519<A NAME="arrayToList(java.lang.Object[])"><!-- --></A><A NAME="arrayToList(T[])"><!-- --></A><H3>
520arrayToList</H3>
521<PRE>
522public static &lt;T&gt; <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; <B>arrayToList</B>(T[]&nbsp;elements)</PRE>
523<DL>
524<DD><DL>
525</DL>
526</DD>
527</DL>
528<HR>
529
530<A NAME="setAndArray(java.util.Set,java.lang.Object[])"><!-- --></A><A NAME="setAndArray(java.util.Set, T[])"><!-- --></A><H3>
531setAndArray</H3>
532<PRE>
533public static &lt;T&gt; <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; <B>setAndArray</B>(<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,
534                                         T[]&nbsp;elements)</PRE>
535<DL>
536<DD><DL>
537</DL>
538</DD>
539</DL>
540<HR>
541
542<A NAME="addToList(java.util.List,java.lang.Object)"><!-- --></A><A NAME="addToList(java.util.List, T)"><!-- --></A><H3>
543addToList</H3>
544<PRE>
545public static &lt;T&gt; <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; <B>addToList</B>(<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,
546                                    T&nbsp;element)</PRE>
547<DL>
548<DD>Helper method for adding specified element to a List, but also
549 considering case where the List may not have been yet constructed
550 (that is, null is passed instead).
551<P>
552<DD><DL>
553<DT><B>Parameters:</B><DD><CODE>list</CODE> - List to add to; may be null to indicate that a new
554    List is to be constructed<DD><CODE>element</CODE> - Element to add to list
555<DT><B>Returns:</B><DD>List in which element was added; either <code>list</code>
556   (if it was not null), or a newly constructed List.</DL>
557</DD>
558</DL>
559<HR>
560
561<A NAME="insertInList(java.lang.Object[],java.lang.Object)"><!-- --></A><A NAME="insertInList(T[], T)"><!-- --></A><H3>
562insertInList</H3>
563<PRE>
564public static &lt;T&gt; T[] <B>insertInList</B>(T[]&nbsp;array,
565                                   T&nbsp;element)</PRE>
566<DL>
567<DD>Helper method for constructing a new array that contains specified
568 element followed by contents of the given array. No checking is done
569 to see if element being inserted is duplicate.
570<P>
571<DD><DL>
572</DL>
573</DD>
574</DL>
575<HR>
576
577<A NAME="insertInListNoDup(java.lang.Object[],java.lang.Object)"><!-- --></A><A NAME="insertInListNoDup(T[], T)"><!-- --></A><H3>
578insertInListNoDup</H3>
579<PRE>
580public static &lt;T&gt; T[] <B>insertInListNoDup</B>(T[]&nbsp;array,
581                                        T&nbsp;element)</PRE>
582<DL>
583<DD>Helper method for constructing a new array that contains specified
584 element followed by contents of the given array but never contains
585 duplicates.
586 If element already existed, one of two things happens: if the element
587 was already the first one in array, array is returned as is; but
588 if not, a new copy is created in which element has moved as the head.
589<P>
590<DD><DL>
591</DL>
592</DD>
593</DL>
594<HR>
595
596<A NAME="arrayAsIterator(java.lang.Object[])"><!-- --></A><A NAME="arrayAsIterator(T[])"><!-- --></A><H3>
597arrayAsIterator</H3>
598<PRE>
599public static &lt;T&gt; <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;T&gt; <B>arrayAsIterator</B>(T[]&nbsp;array)</PRE>
600<DL>
601<DD>Helper method for exposing contents of arrays using a read-only iterator
602<P>
603<DD><DL>
604</DL>
605</DD>
606</DL>
607<HR>
608
609<A NAME="arrayAsIterable(java.lang.Object[])"><!-- --></A><A NAME="arrayAsIterable(T[])"><!-- --></A><H3>
610arrayAsIterable</H3>
611<PRE>
612public static &lt;T&gt; <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;T&gt; <B>arrayAsIterable</B>(T[]&nbsp;array)</PRE>
613<DL>
614<DD><DL>
615</DL>
616</DD>
617</DL>
618<!-- ========= END OF CLASS DATA ========= -->
619<HR>
620
621
622<!-- ======= START OF BOTTOM NAVBAR ====== -->
623<A NAME="navbar_bottom"><!-- --></A>
624<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
625<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
626<TR>
627<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
628<A NAME="navbar_bottom_firstrow"><!-- --></A>
629<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
630  <TR ALIGN="center" VALIGN="top">
631  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
632  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
633  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
634  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ArrayBuilders.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
635  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
636  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
637  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
638  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
639  </TR>
640</TABLE>
641</TD>
642<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
643</EM>
644</TD>
645</TR>
646
647<TR>
648<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
649&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util"><B>PREV CLASS</B></A>&nbsp;
650&nbsp;<A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.BooleanBuilder.html" title="class in com.fasterxml.jackson.databind.util"><B>NEXT CLASS</B></A></FONT></TD>
651<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
652  <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/util/ArrayBuilders.html" target="_top"><B>FRAMES</B></A>  &nbsp;
653&nbsp;<A HREF="ArrayBuilders.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
654&nbsp;<SCRIPT type="text/javascript">
655  <!--
656  if(window==top) {
657    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
658  }
659  //-->
660</SCRIPT>
661<NOSCRIPT>
662  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
663</NOSCRIPT>
664
665
666</FONT></TD>
667</TR>
668<TR>
669<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
670  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
671<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
672DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
673</TR>
674</TABLE>
675<A NAME="skip-navbar_bottom"></A>
676<!-- ======== END OF BOTTOM NAVBAR ======= -->
677
678<HR>
679Copyright &#169; 2012 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.
680</BODY>
681</HTML>
682