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