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:22 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8TokenBuffer.Segment (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="TokenBuffer.Segment (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> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TokenBuffer.Segment.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 <A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Parser.html" title="class in com.fasterxml.jackson.databind.util"><B>PREV CLASS</B></A> 60 <A HREF="../../../../../com/fasterxml/jackson/databind/util/ViewMatcher.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/TokenBuffer.Segment.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="TokenBuffer.Segment.html" target="_top"><B>NO FRAMES</B></A> 64 <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 82DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 TokenBuffer.Segment</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.TokenBuffer.Segment</B> 98</PRE> 99<DL> 100<DT><B>Enclosing class:</B><DD><A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.html" title="class in com.fasterxml.jackson.databind.util">TokenBuffer</A></DD> 101</DL> 102<HR> 103<DL> 104<DT><PRE>protected static final class <B>TokenBuffer.Segment</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> 105</PRE> 106 107<P> 108Individual segment of TokenBuffer that can store up to 16 tokens 109 (limited by 4 bits per token type marker requirement). 110 Current implementation uses fixed length array; could alternatively 111 use 16 distinct fields and switch statement (slightly more efficient 112 storage, slightly slower access) 113<P> 114 115<P> 116<HR> 117 118<P> 119<!-- =========== FIELD SUMMARY =========== --> 120 121<A NAME="field_summary"><!-- --></A> 122<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 123<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 124<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 125<B>Field Summary</B></FONT></TH> 126</TR> 127<TR BGCOLOR="white" CLASS="TableRowColor"> 128<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 129<CODE>protected <A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html" title="class in com.fasterxml.jackson.databind.util">TokenBuffer.Segment</A></CODE></FONT></TD> 130<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html#_next">_next</A></B></CODE> 131 132<BR> 133 </TD> 134</TR> 135<TR BGCOLOR="white" CLASS="TableRowColor"> 136<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 137<CODE>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD> 138<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html#_tokens">_tokens</A></B></CODE> 139 140<BR> 141 </TD> 142</TR> 143<TR BGCOLOR="white" CLASS="TableRowColor"> 144<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 145<CODE>protected long</CODE></FONT></TD> 146<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html#_tokenTypes">_tokenTypes</A></B></CODE> 147 148<BR> 149 Bit field used to store types of buffered tokens; 4 bits per token.</TD> 150</TR> 151<TR BGCOLOR="white" CLASS="TableRowColor"> 152<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 153<CODE>static int</CODE></FONT></TD> 154<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html#TOKENS_PER_SEGMENT">TOKENS_PER_SEGMENT</A></B></CODE> 155 156<BR> 157 </TD> 158</TR> 159</TABLE> 160 161<!-- ======== CONSTRUCTOR SUMMARY ======== --> 162 163<A NAME="constructor_summary"><!-- --></A> 164<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 165<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 166<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 167<B>Constructor Summary</B></FONT></TH> 168</TR> 169<TR BGCOLOR="white" CLASS="TableRowColor"> 170<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html#TokenBuffer.Segment()">TokenBuffer.Segment</A></B>()</CODE> 171 172<BR> 173 </TD> 174</TR> 175</TABLE> 176 177<!-- ========== METHOD SUMMARY =========== --> 178 179<A NAME="method_summary"><!-- --></A> 180<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 181<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 182<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 183<B>Method Summary</B></FONT></TH> 184</TR> 185<TR BGCOLOR="white" CLASS="TableRowColor"> 186<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 187<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html" title="class in com.fasterxml.jackson.databind.util">TokenBuffer.Segment</A></CODE></FONT></TD> 188<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html#append(int, com.fasterxml.jackson.core.JsonToken)">append</A></B>(int index, 189 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A> tokenType)</CODE> 190 191<BR> 192 </TD> 193</TR> 194<TR BGCOLOR="white" CLASS="TableRowColor"> 195<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 196<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html" title="class in com.fasterxml.jackson.databind.util">TokenBuffer.Segment</A></CODE></FONT></TD> 197<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html#append(int, com.fasterxml.jackson.core.JsonToken, java.lang.Object)">append</A></B>(int index, 198 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A> tokenType, 199 <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> value)</CODE> 200 201<BR> 202 </TD> 203</TR> 204<TR BGCOLOR="white" CLASS="TableRowColor"> 205<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 206<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html" title="class in com.fasterxml.jackson.databind.util">TokenBuffer.Segment</A></CODE></FONT></TD> 207<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html#appendRaw(int, int, java.lang.Object)">appendRaw</A></B>(int index, 208 int rawTokenType, 209 <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> value)</CODE> 210 211<BR> 212 </TD> 213</TR> 214<TR BGCOLOR="white" CLASS="TableRowColor"> 215<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 216<CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> 217<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html#get(int)">get</A></B>(int index)</CODE> 218 219<BR> 220 </TD> 221</TR> 222<TR BGCOLOR="white" CLASS="TableRowColor"> 223<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 224<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html" title="class in com.fasterxml.jackson.databind.util">TokenBuffer.Segment</A></CODE></FONT></TD> 225<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html#next()">next</A></B>()</CODE> 226 227<BR> 228 </TD> 229</TR> 230<TR BGCOLOR="white" CLASS="TableRowColor"> 231<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 232<CODE> int</CODE></FONT></TD> 233<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html#rawType(int)">rawType</A></B>(int index)</CODE> 234 235<BR> 236 </TD> 237</TR> 238<TR BGCOLOR="white" CLASS="TableRowColor"> 239<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 240<CODE> void</CODE></FONT></TD> 241<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html#set(int, com.fasterxml.jackson.core.JsonToken)">set</A></B>(int index, 242 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A> tokenType)</CODE> 243 244<BR> 245 </TD> 246</TR> 247<TR BGCOLOR="white" CLASS="TableRowColor"> 248<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 249<CODE> void</CODE></FONT></TD> 250<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html#set(int, com.fasterxml.jackson.core.JsonToken, java.lang.Object)">set</A></B>(int index, 251 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A> tokenType, 252 <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> value)</CODE> 253 254<BR> 255 </TD> 256</TR> 257<TR BGCOLOR="white" CLASS="TableRowColor"> 258<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 259<CODE> <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A></CODE></FONT></TD> 260<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html#type(int)">type</A></B>(int index)</CODE> 261 262<BR> 263 </TD> 264</TR> 265</TABLE> 266 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 267<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 268<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 269<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> 270</TR> 271<TR BGCOLOR="white" CLASS="TableRowColor"> 272<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> 273</TR> 274</TABLE> 275 276<P> 277 278<!-- ============ FIELD DETAIL =========== --> 279 280<A NAME="field_detail"><!-- --></A> 281<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 282<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 283<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 284<B>Field Detail</B></FONT></TH> 285</TR> 286</TABLE> 287 288<A NAME="TOKENS_PER_SEGMENT"><!-- --></A><H3> 289TOKENS_PER_SEGMENT</H3> 290<PRE> 291public static final int <B>TOKENS_PER_SEGMENT</B></PRE> 292<DL> 293<DL> 294<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.fasterxml.jackson.databind.util.TokenBuffer.Segment.TOKENS_PER_SEGMENT">Constant Field Values</A></DL> 295</DL> 296<HR> 297 298<A NAME="_next"><!-- --></A><H3> 299_next</H3> 300<PRE> 301protected <A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html" title="class in com.fasterxml.jackson.databind.util">TokenBuffer.Segment</A> <B>_next</B></PRE> 302<DL> 303<DL> 304</DL> 305</DL> 306<HR> 307 308<A NAME="_tokenTypes"><!-- --></A><H3> 309_tokenTypes</H3> 310<PRE> 311protected long <B>_tokenTypes</B></PRE> 312<DL> 313<DD>Bit field used to store types of buffered tokens; 4 bits per token. 314 Value 0 is reserved for "not in use" 315<P> 316<DL> 317</DL> 318</DL> 319<HR> 320 321<A NAME="_tokens"><!-- --></A><H3> 322_tokens</H3> 323<PRE> 324protected final <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>_tokens</B></PRE> 325<DL> 326<DL> 327</DL> 328</DL> 329 330<!-- ========= CONSTRUCTOR DETAIL ======== --> 331 332<A NAME="constructor_detail"><!-- --></A> 333<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 334<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 335<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 336<B>Constructor Detail</B></FONT></TH> 337</TR> 338</TABLE> 339 340<A NAME="TokenBuffer.Segment()"><!-- --></A><H3> 341TokenBuffer.Segment</H3> 342<PRE> 343public <B>TokenBuffer.Segment</B>()</PRE> 344<DL> 345</DL> 346 347<!-- ============ METHOD DETAIL ========== --> 348 349<A NAME="method_detail"><!-- --></A> 350<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 351<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 352<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 353<B>Method Detail</B></FONT></TH> 354</TR> 355</TABLE> 356 357<A NAME="type(int)"><!-- --></A><H3> 358type</H3> 359<PRE> 360public <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A> <B>type</B>(int index)</PRE> 361<DL> 362<DD><DL> 363</DL> 364</DD> 365</DL> 366<HR> 367 368<A NAME="rawType(int)"><!-- --></A><H3> 369rawType</H3> 370<PRE> 371public int <B>rawType</B>(int index)</PRE> 372<DL> 373<DD><DL> 374</DL> 375</DD> 376</DL> 377<HR> 378 379<A NAME="get(int)"><!-- --></A><H3> 380get</H3> 381<PRE> 382public <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>get</B>(int index)</PRE> 383<DL> 384<DD><DL> 385</DL> 386</DD> 387</DL> 388<HR> 389 390<A NAME="next()"><!-- --></A><H3> 391next</H3> 392<PRE> 393public <A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html" title="class in com.fasterxml.jackson.databind.util">TokenBuffer.Segment</A> <B>next</B>()</PRE> 394<DL> 395<DD><DL> 396</DL> 397</DD> 398</DL> 399<HR> 400 401<A NAME="append(int, com.fasterxml.jackson.core.JsonToken)"><!-- --></A><H3> 402append</H3> 403<PRE> 404public <A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html" title="class in com.fasterxml.jackson.databind.util">TokenBuffer.Segment</A> <B>append</B>(int index, 405 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A> tokenType)</PRE> 406<DL> 407<DD><DL> 408</DL> 409</DD> 410</DL> 411<HR> 412 413<A NAME="append(int, com.fasterxml.jackson.core.JsonToken, java.lang.Object)"><!-- --></A><H3> 414append</H3> 415<PRE> 416public <A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html" title="class in com.fasterxml.jackson.databind.util">TokenBuffer.Segment</A> <B>append</B>(int index, 417 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A> tokenType, 418 <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> value)</PRE> 419<DL> 420<DD><DL> 421</DL> 422</DD> 423</DL> 424<HR> 425 426<A NAME="appendRaw(int, int, java.lang.Object)"><!-- --></A><H3> 427appendRaw</H3> 428<PRE> 429public <A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html" title="class in com.fasterxml.jackson.databind.util">TokenBuffer.Segment</A> <B>appendRaw</B>(int index, 430 int rawTokenType, 431 <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> value)</PRE> 432<DL> 433<DD><DL> 434</DL> 435</DD> 436</DL> 437<HR> 438 439<A NAME="set(int, com.fasterxml.jackson.core.JsonToken)"><!-- --></A><H3> 440set</H3> 441<PRE> 442public void <B>set</B>(int index, 443 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A> tokenType)</PRE> 444<DL> 445<DD><DL> 446</DL> 447</DD> 448</DL> 449<HR> 450 451<A NAME="set(int, com.fasterxml.jackson.core.JsonToken, java.lang.Object)"><!-- --></A><H3> 452set</H3> 453<PRE> 454public void <B>set</B>(int index, 455 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</A> tokenType, 456 <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> value)</PRE> 457<DL> 458<DD><DL> 459</DL> 460</DD> 461</DL> 462<!-- ========= END OF CLASS DATA ========= --> 463<HR> 464 465 466<!-- ======= START OF BOTTOM NAVBAR ====== --> 467<A NAME="navbar_bottom"><!-- --></A> 468<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 469<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 470<TR> 471<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 472<A NAME="navbar_bottom_firstrow"><!-- --></A> 473<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 474 <TR ALIGN="center" VALIGN="top"> 475 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 476 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 477 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 478 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TokenBuffer.Segment.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 479 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 480 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 481 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 482 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 483 </TR> 484</TABLE> 485</TD> 486<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 487</EM> 488</TD> 489</TR> 490 491<TR> 492<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 493 <A HREF="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.Parser.html" title="class in com.fasterxml.jackson.databind.util"><B>PREV CLASS</B></A> 494 <A HREF="../../../../../com/fasterxml/jackson/databind/util/ViewMatcher.html" title="class in com.fasterxml.jackson.databind.util"><B>NEXT CLASS</B></A></FONT></TD> 495<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 496 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/util/TokenBuffer.Segment.html" target="_top"><B>FRAMES</B></A> 497 <A HREF="TokenBuffer.Segment.html" target="_top"><B>NO FRAMES</B></A> 498 <SCRIPT type="text/javascript"> 499 <!-- 500 if(window==top) { 501 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 502 } 503 //--> 504</SCRIPT> 505<NOSCRIPT> 506 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 507</NOSCRIPT> 508 509 510</FONT></TD> 511</TR> 512<TR> 513<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 514 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 515<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 516DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 517</TR> 518</TABLE> 519<A NAME="skip-navbar_bottom"></A> 520<!-- ======== END OF BOTTOM NAVBAR ======= --> 521 522<HR> 523Copyright © 2012 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved. 524</BODY> 525</HTML> 526