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_10-ea) on Mon Apr 22 19:50:43 PDT 2013 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>PrimitiveArrayBuilder (jackson-databind 2.2.0 API)</title> 8<meta name="date" content="2013-04-22"> 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.2.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/Provider.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/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><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a></code></td> 193<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, 194 int lastChunkEntries)</code> </td> 195</tr> 196<tr class="altColor"> 197<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a></code></td> 198<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html#resetAndStart()">resetAndStart</a></strong>()</code> </td> 199</tr> 200</table> 201<ul class="blockList"> 202<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 203<!-- --> 204</a> 205<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> 206<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> 207</ul> 208</li> 209</ul> 210</li> 211</ul> 212</div> 213<div class="details"> 214<ul class="blockList"> 215<li class="blockList"> 216<!-- ============ FIELD DETAIL =========== --> 217<ul class="blockList"> 218<li class="blockList"><a name="field_detail"> 219<!-- --> 220</a> 221<h3>Field Detail</h3> 222<a name="_freeBuffer"> 223<!-- --> 224</a> 225<ul class="blockList"> 226<li class="blockList"> 227<h4>_freeBuffer</h4> 228<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a> _freeBuffer</pre> 229</li> 230</ul> 231<a name="_bufferHead"> 232<!-- --> 233</a> 234<ul class="blockList"> 235<li class="blockList"> 236<h4>_bufferHead</h4> 237<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> 238</li> 239</ul> 240<a name="_bufferTail"> 241<!-- --> 242</a> 243<ul class="blockList"> 244<li class="blockList"> 245<h4>_bufferTail</h4> 246<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> 247</li> 248</ul> 249<a name="_bufferedEntryCount"> 250<!-- --> 251</a> 252<ul class="blockListLast"> 253<li class="blockList"> 254<h4>_bufferedEntryCount</h4> 255<pre>protected int _bufferedEntryCount</pre> 256<div class="block">Number of total buffered entries in this buffer, counting all instances 257 within linked list formed by following <a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html#_bufferHead"><code>_bufferHead</code></a>.</div> 258</li> 259</ul> 260</li> 261</ul> 262<!-- ========= CONSTRUCTOR DETAIL ======== --> 263<ul class="blockList"> 264<li class="blockList"><a name="constructor_detail"> 265<!-- --> 266</a> 267<h3>Constructor Detail</h3> 268<a name="PrimitiveArrayBuilder()"> 269<!-- --> 270</a> 271<ul class="blockListLast"> 272<li class="blockList"> 273<h4>PrimitiveArrayBuilder</h4> 274<pre>protected PrimitiveArrayBuilder()</pre> 275</li> 276</ul> 277</li> 278</ul> 279<!-- ============ METHOD DETAIL ========== --> 280<ul class="blockList"> 281<li class="blockList"><a name="method_detail"> 282<!-- --> 283</a> 284<h3>Method Detail</h3> 285<a name="resetAndStart()"> 286<!-- --> 287</a> 288<ul class="blockList"> 289<li class="blockList"> 290<h4>resetAndStart</h4> 291<pre>public <a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a> resetAndStart()</pre> 292</li> 293</ul> 294<a name="appendCompletedChunk(java.lang.Object,int)"> 295<!-- --> 296</a><a name="appendCompletedChunk(T, int)"> 297<!-- --> 298</a> 299<ul class="blockList"> 300<li class="blockList"> 301<h4>appendCompletedChunk</h4> 302<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, 303 int fullChunkLength)</pre> 304<dl><dt><span class="strong">Returns:</span></dt><dd>Length of the next chunk to allocate</dd></dl> 305</li> 306</ul> 307<a name="completeAndClearBuffer(java.lang.Object,int)"> 308<!-- --> 309</a><a name="completeAndClearBuffer(T, int)"> 310<!-- --> 311</a> 312<ul class="blockList"> 313<li class="blockList"> 314<h4>completeAndClearBuffer</h4> 315<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, 316 int lastChunkEntries)</pre> 317</li> 318</ul> 319<a name="_constructArray(int)"> 320<!-- --> 321</a> 322<ul class="blockList"> 323<li class="blockList"> 324<h4>_constructArray</h4> 325<pre>protected abstract <a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="type parameter in PrimitiveArrayBuilder">T</a> _constructArray(int len)</pre> 326</li> 327</ul> 328<a name="_reset()"> 329<!-- --> 330</a> 331<ul class="blockListLast"> 332<li class="blockList"> 333<h4>_reset</h4> 334<pre>protected void _reset()</pre> 335</li> 336</ul> 337</li> 338</ul> 339</li> 340</ul> 341</div> 342</div> 343<!-- ========= END OF CLASS DATA ========= --> 344<!-- ======= START OF BOTTOM NAVBAR ====== --> 345<div class="bottomNav"><a name="navbar_bottom"> 346<!-- --> 347</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 348<!-- --> 349</a> 350<ul class="navList" title="Navigation"> 351<li><a href="../../../../../overview-summary.html">Overview</a></li> 352<li><a href="package-summary.html">Package</a></li> 353<li class="navBarCell1Rev">Class</li> 354<li><a href="class-use/PrimitiveArrayBuilder.html">Use</a></li> 355<li><a href="package-tree.html">Tree</a></li> 356<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 357<li><a href="../../../../../index-all.html">Index</a></li> 358<li><a href="../../../../../help-doc.html">Help</a></li> 359</ul> 360</div> 361<div class="subNav"> 362<ul class="navList"> 363<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> 364<li><a href="../../../../../com/fasterxml/jackson/databind/util/Provider.html" title="interface in com.fasterxml.jackson.databind.util"><span class="strong">Next Class</span></a></li> 365</ul> 366<ul class="navList"> 367<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" target="_top">Frames</a></li> 368<li><a href="PrimitiveArrayBuilder.html" target="_top">No Frames</a></li> 369</ul> 370<ul class="navList" id="allclasses_navbar_bottom"> 371<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 372</ul> 373<div> 374<script type="text/javascript"><!-- 375 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 376 if(window==top) { 377 allClassesLink.style.display = "block"; 378 } 379 else { 380 allClassesLink.style.display = "none"; 381 } 382 //--> 383</script> 384</div> 385<div> 386<ul class="subNavList"> 387<li>Summary: </li> 388<li>Nested | </li> 389<li><a href="#field_summary">Field</a> | </li> 390<li><a href="#constructor_summary">Constr</a> | </li> 391<li><a href="#method_summary">Method</a></li> 392</ul> 393<ul class="subNavList"> 394<li>Detail: </li> 395<li><a href="#field_detail">Field</a> | </li> 396<li><a href="#constructor_detail">Constr</a> | </li> 397<li><a href="#method_detail">Method</a></li> 398</ul> 399</div> 400<a name="skip-navbar_bottom"> 401<!-- --> 402</a></div> 403<!-- ======== END OF BOTTOM NAVBAR ======= --> 404<p class="legalCopy"><small>Copyright © 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 405</body> 406</html> 407