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 Thu Jan 01 17:43:58 PST 2015 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>PrimitiveArrayBuilder (jackson-databind 2.5.0 API)</title> 8<meta name="date" content="2015-01-01"> 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="PrimitiveArrayBuilder (jackson-databind 2.5.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/PrimitiveArrayBuilder.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/ObjectIdMap.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/RootNameLookup.html" title="class 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/PrimitiveArrayBuilder.html" target="_top">Frames</a></li> 45<li><a href="PrimitiveArrayBuilder.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: </li> 65<li>Nested | </li> 66<li><a href="#field_summary">Field</a> | </li> 67<li><a href="#constructor_summary">Constr</a> | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li><a href="#field_detail">Field</a> | </li> 73<li><a href="#constructor_detail">Constr</a> | </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 PrimitiveArrayBuilder" class="title">Class PrimitiveArrayBuilder<T></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.PrimitiveArrayBuilder<T></li> 92</ul> 93</li> 94</ul> 95<div class="description"> 96<ul class="blockList"> 97<li class="blockList"> 98<dl> 99<dt>Direct Known Subclasses:</dt> 100<dd><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.BooleanBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.BooleanBuilder</a>, <a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.ByteBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.ByteBuilder</a>, <a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.DoubleBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.DoubleBuilder</a>, <a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.FloatBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.FloatBuilder</a>, <a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.IntBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.IntBuilder</a>, <a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.LongBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.LongBuilder</a>, <a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.ShortBuilder.html" title="class in com.fasterxml.jackson.databind.util">ArrayBuilders.ShortBuilder</a></dd> 101</dl> 102<hr> 103<br> 104<pre>public abstract class <span class="strong">PrimitiveArrayBuilder<T></span> 105extends <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> 106<div class="block">Base class for specialized primitive array builders.</div> 107</li> 108</ul> 109</div> 110<div class="summary"> 111<ul class="blockList"> 112<li class="blockList"> 113<!-- =========== FIELD SUMMARY =========== --> 114<ul class="blockList"> 115<li class="blockList"><a name="field_summary"> 116<!-- --> 117</a> 118<h3>Field Summary</h3> 119<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 120<caption><span>Fields</span><span class="tabEnd"> </span></caption> 121<tr> 122<th class="colFirst" scope="col">Modifier and Type</th> 123<th class="colLast" scope="col">Field and Description</th> 124</tr> 125<tr class="altColor"> 126<td class="colFirst"><code>protected int</code></td> 127<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html#_bufferedEntryCount">_bufferedEntryCount</a></strong></code> 128<div class="block">Number of total buffered entries in this buffer, counting all instances 129 within linked list formed by following <a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html#_bufferHead"><code>_bufferHead</code></a>.</div> 130</td> 131</tr> 132<tr class="rowColor"> 133<td class="colFirst"><code>protected com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder.Node<<a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a>></code></td> 134<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html#_bufferHead">_bufferHead</a></strong></code> </td> 135</tr> 136<tr class="altColor"> 137<td class="colFirst"><code>protected com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder.Node<<a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a>></code></td> 138<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html#_bufferTail">_bufferTail</a></strong></code> </td> 139</tr> 140<tr class="rowColor"> 141<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a></code></td> 142<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html#_freeBuffer">_freeBuffer</a></strong></code> </td> 143</tr> 144</table> 145</li> 146</ul> 147<!-- ======== CONSTRUCTOR SUMMARY ======== --> 148<ul class="blockList"> 149<li class="blockList"><a name="constructor_summary"> 150<!-- --> 151</a> 152<h3>Constructor Summary</h3> 153<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 154<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 155<tr> 156<th class="colFirst" scope="col">Modifier</th> 157<th class="colLast" scope="col">Constructor and Description</th> 158</tr> 159<tr class="altColor"> 160<td class="colFirst"><code>protected </code></td> 161<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html#PrimitiveArrayBuilder()">PrimitiveArrayBuilder</a></strong>()</code> </td> 162</tr> 163</table> 164</li> 165</ul> 166<!-- ========== METHOD SUMMARY =========== --> 167<ul class="blockList"> 168<li class="blockList"><a name="method_summary"> 169<!-- --> 170</a> 171<h3>Method Summary</h3> 172<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 173<caption><span>Methods</span><span class="tabEnd"> </span></caption> 174<tr> 175<th class="colFirst" scope="col">Modifier and Type</th> 176<th class="colLast" scope="col">Method and Description</th> 177</tr> 178<tr class="altColor"> 179<td class="colFirst"><code>protected abstract <a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a></code></td> 180<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html#_constructArray(int)">_constructArray</a></strong>(int len)</code> </td> 181</tr> 182<tr class="rowColor"> 183<td class="colFirst"><code>protected void</code></td> 184<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html#_reset()">_reset</a></strong>()</code> </td> 185</tr> 186<tr class="altColor"> 187<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a></code></td> 188<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html#appendCompletedChunk(T, int)">appendCompletedChunk</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a> fullChunk, 189 int fullChunkLength)</code> </td> 190</tr> 191<tr class="rowColor"> 192<td class="colFirst"><code>int</code></td> 193<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html#bufferedSize()">bufferedSize</a></strong>()</code> </td> 194</tr> 195<tr class="altColor"> 196<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a></code></td> 197<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html#completeAndClearBuffer(T, int)">completeAndClearBuffer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a> lastChunk, 198 int lastChunkEntries)</code> </td> 199</tr> 200<tr class="rowColor"> 201<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a></code></td> 202<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html#resetAndStart()">resetAndStart</a></strong>()</code> </td> 203</tr> 204</table> 205<ul class="blockList"> 206<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 207<!-- --> 208</a> 209<h3>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></h3> 210<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> 211</ul> 212</li> 213</ul> 214</li> 215</ul> 216</div> 217<div class="details"> 218<ul class="blockList"> 219<li class="blockList"> 220<!-- ============ FIELD DETAIL =========== --> 221<ul class="blockList"> 222<li class="blockList"><a name="field_detail"> 223<!-- --> 224</a> 225<h3>Field Detail</h3> 226<a name="_freeBuffer"> 227<!-- --> 228</a> 229<ul class="blockList"> 230<li class="blockList"> 231<h4>_freeBuffer</h4> 232<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a> _freeBuffer</pre> 233</li> 234</ul> 235<a name="_bufferHead"> 236<!-- --> 237</a> 238<ul class="blockList"> 239<li class="blockList"> 240<h4>_bufferHead</h4> 241<pre>protected com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder.Node<<a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a>> _bufferHead</pre> 242</li> 243</ul> 244<a name="_bufferTail"> 245<!-- --> 246</a> 247<ul class="blockList"> 248<li class="blockList"> 249<h4>_bufferTail</h4> 250<pre>protected com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder.Node<<a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a>> _bufferTail</pre> 251</li> 252</ul> 253<a name="_bufferedEntryCount"> 254<!-- --> 255</a> 256<ul class="blockListLast"> 257<li class="blockList"> 258<h4>_bufferedEntryCount</h4> 259<pre>protected int _bufferedEntryCount</pre> 260<div class="block">Number of total buffered entries in this buffer, counting all instances 261 within linked list formed by following <a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html#_bufferHead"><code>_bufferHead</code></a>.</div> 262</li> 263</ul> 264</li> 265</ul> 266<!-- ========= CONSTRUCTOR DETAIL ======== --> 267<ul class="blockList"> 268<li class="blockList"><a name="constructor_detail"> 269<!-- --> 270</a> 271<h3>Constructor Detail</h3> 272<a name="PrimitiveArrayBuilder()"> 273<!-- --> 274</a> 275<ul class="blockListLast"> 276<li class="blockList"> 277<h4>PrimitiveArrayBuilder</h4> 278<pre>protected PrimitiveArrayBuilder()</pre> 279</li> 280</ul> 281</li> 282</ul> 283<!-- ============ METHOD DETAIL ========== --> 284<ul class="blockList"> 285<li class="blockList"><a name="method_detail"> 286<!-- --> 287</a> 288<h3>Method Detail</h3> 289<a name="bufferedSize()"> 290<!-- --> 291</a> 292<ul class="blockList"> 293<li class="blockList"> 294<h4>bufferedSize</h4> 295<pre>public int bufferedSize()</pre> 296</li> 297</ul> 298<a name="resetAndStart()"> 299<!-- --> 300</a> 301<ul class="blockList"> 302<li class="blockList"> 303<h4>resetAndStart</h4> 304<pre>public <a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a> resetAndStart()</pre> 305</li> 306</ul> 307<a name="appendCompletedChunk(java.lang.Object,int)"> 308<!-- --> 309</a><a name="appendCompletedChunk(T, int)"> 310<!-- --> 311</a> 312<ul class="blockList"> 313<li class="blockList"> 314<h4>appendCompletedChunk</h4> 315<pre>public final <a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a> appendCompletedChunk(<a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a> fullChunk, 316 int fullChunkLength)</pre> 317<dl><dt><span class="strong">Returns:</span></dt><dd>Length of the next chunk to allocate</dd></dl> 318</li> 319</ul> 320<a name="completeAndClearBuffer(java.lang.Object,int)"> 321<!-- --> 322</a><a name="completeAndClearBuffer(T, int)"> 323<!-- --> 324</a> 325<ul class="blockList"> 326<li class="blockList"> 327<h4>completeAndClearBuffer</h4> 328<pre>public <a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a> completeAndClearBuffer(<a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a> lastChunk, 329 int lastChunkEntries)</pre> 330</li> 331</ul> 332<a name="_constructArray(int)"> 333<!-- --> 334</a> 335<ul class="blockList"> 336<li class="blockList"> 337<h4>_constructArray</h4> 338<pre>protected abstract <a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a> _constructArray(int len)</pre> 339</li> 340</ul> 341<a name="_reset()"> 342<!-- --> 343</a> 344<ul class="blockListLast"> 345<li class="blockList"> 346<h4>_reset</h4> 347<pre>protected void _reset()</pre> 348</li> 349</ul> 350</li> 351</ul> 352</li> 353</ul> 354</div> 355</div> 356<!-- ========= END OF CLASS DATA ========= --> 357<!-- ======= START OF BOTTOM NAVBAR ====== --> 358<div class="bottomNav"><a name="navbar_bottom"> 359<!-- --> 360</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 361<!-- --> 362</a> 363<ul class="navList" title="Navigation"> 364<li><a href="../../../../../overview-summary.html">Overview</a></li> 365<li><a href="package-summary.html">Package</a></li> 366<li class="navBarCell1Rev">Class</li> 367<li><a href="class-use/PrimitiveArrayBuilder.html">Use</a></li> 368<li><a href="package-tree.html">Tree</a></li> 369<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 370<li><a href="../../../../../index-all.html">Index</a></li> 371<li><a href="../../../../../help-doc.html">Help</a></li> 372</ul> 373</div> 374<div class="subNav"> 375<ul class="navList"> 376<li><a href="../../../../../com/fasterxml/jackson/databind/util/ObjectIdMap.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Prev Class</span></a></li> 377<li><a href="../../../../../com/fasterxml/jackson/databind/util/RootNameLookup.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Next Class</span></a></li> 378</ul> 379<ul class="navList"> 380<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" target="_top">Frames</a></li> 381<li><a href="PrimitiveArrayBuilder.html" target="_top">No Frames</a></li> 382</ul> 383<ul class="navList" id="allclasses_navbar_bottom"> 384<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 385</ul> 386<div> 387<script type="text/javascript"><!-- 388 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 389 if(window==top) { 390 allClassesLink.style.display = "block"; 391 } 392 else { 393 allClassesLink.style.display = "none"; 394 } 395 //--> 396</script> 397</div> 398<div> 399<ul class="subNavList"> 400<li>Summary: </li> 401<li>Nested | </li> 402<li><a href="#field_summary">Field</a> | </li> 403<li><a href="#constructor_summary">Constr</a> | </li> 404<li><a href="#method_summary">Method</a></li> 405</ul> 406<ul class="subNavList"> 407<li>Detail: </li> 408<li><a href="#field_detail">Field</a> | </li> 409<li><a href="#constructor_detail">Constr</a> | </li> 410<li><a href="#method_detail">Method</a></li> 411</ul> 412</div> 413<a name="skip-navbar_bottom"> 414<!-- --> 415</a></div> 416<!-- ======== END OF BOTTOM NAVBAR ======= --> 417<p class="legalCopy"><small>Copyright © 2014-2015 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 418</body> 419</html> 420