• 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 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>SmileUtil (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="SmileUtil (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/SmileUtil.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><a href="../../../../org/codehaus/jackson/smile/SmileParserBootstrapper.html" title="class in org.codehaus.jackson.smile"><span class="strong">Prev Class</span></a></li>
40<li><a href="../../../../org/codehaus/jackson/smile/Tool.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/SmileUtil.html" target="_top">Frames</a></li>
44<li><a href="SmileUtil.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:&nbsp;</li>
64<li>Nested&nbsp;|&nbsp;</li>
65<li>Field&nbsp;|&nbsp;</li>
66<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
67<li><a href="#method_summary">Method</a></li>
68</ul>
69<ul class="subNavList">
70<li>Detail:&nbsp;</li>
71<li>Field&nbsp;|&nbsp;</li>
72<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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 SmileUtil" class="title">Class SmileUtil</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.SmileUtil</li>
91</ul>
92</li>
93</ul>
94<div class="description">
95<ul class="blockList">
96<li class="blockList">
97<hr>
98<br>
99<pre>public class <span class="strong">SmileUtil</span>
100extends <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>
101<div class="block">Class for miscellaneous helper methods.</div>
102</li>
103</ul>
104</div>
105<div class="summary">
106<ul class="blockList">
107<li class="blockList">
108<!-- ======== CONSTRUCTOR SUMMARY ======== -->
109<ul class="blockList">
110<li class="blockList"><a name="constructor_summary">
111<!--   -->
112</a>
113<h3>Constructor Summary</h3>
114<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
115<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
116<tr>
117<th class="colOne" scope="col">Constructor and Description</th>
118</tr>
119<tr class="altColor">
120<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileUtil.html#SmileUtil()">SmileUtil</a></strong>()</code>&nbsp;</td>
121</tr>
122</table>
123</li>
124</ul>
125<!-- ========== METHOD SUMMARY =========== -->
126<ul class="blockList">
127<li class="blockList"><a name="method_summary">
128<!--   -->
129</a>
130<h3>Method Summary</h3>
131<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
132<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
133<tr>
134<th class="colFirst" scope="col">Modifier and Type</th>
135<th class="colLast" scope="col">Method and Description</th>
136</tr>
137<tr class="altColor">
138<td class="colFirst"><code>static int</code></td>
139<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileUtil.html#zigzagDecode(int)">zigzagDecode</a></strong>(int&nbsp;encoded)</code>&nbsp;</td>
140</tr>
141<tr class="rowColor">
142<td class="colFirst"><code>static long</code></td>
143<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileUtil.html#zigzagDecode(long)">zigzagDecode</a></strong>(long&nbsp;encoded)</code>&nbsp;</td>
144</tr>
145<tr class="altColor">
146<td class="colFirst"><code>static int</code></td>
147<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileUtil.html#zigzagEncode(int)">zigzagEncode</a></strong>(int&nbsp;input)</code>&nbsp;</td>
148</tr>
149<tr class="rowColor">
150<td class="colFirst"><code>static long</code></td>
151<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileUtil.html#zigzagEncode(long)">zigzagEncode</a></strong>(long&nbsp;input)</code>&nbsp;</td>
152</tr>
153</table>
154<ul class="blockList">
155<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
156<!--   -->
157</a>
158<h3>Methods inherited from class&nbsp;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>
159<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>
160</ul>
161</li>
162</ul>
163</li>
164</ul>
165</div>
166<div class="details">
167<ul class="blockList">
168<li class="blockList">
169<!-- ========= CONSTRUCTOR DETAIL ======== -->
170<ul class="blockList">
171<li class="blockList"><a name="constructor_detail">
172<!--   -->
173</a>
174<h3>Constructor Detail</h3>
175<a name="SmileUtil()">
176<!--   -->
177</a>
178<ul class="blockListLast">
179<li class="blockList">
180<h4>SmileUtil</h4>
181<pre>public&nbsp;SmileUtil()</pre>
182</li>
183</ul>
184</li>
185</ul>
186<!-- ============ METHOD DETAIL ========== -->
187<ul class="blockList">
188<li class="blockList"><a name="method_detail">
189<!--   -->
190</a>
191<h3>Method Detail</h3>
192<a name="zigzagEncode(int)">
193<!--   -->
194</a>
195<ul class="blockList">
196<li class="blockList">
197<h4>zigzagEncode</h4>
198<pre>public static&nbsp;int&nbsp;zigzagEncode(int&nbsp;input)</pre>
199</li>
200</ul>
201<a name="zigzagDecode(int)">
202<!--   -->
203</a>
204<ul class="blockList">
205<li class="blockList">
206<h4>zigzagDecode</h4>
207<pre>public static&nbsp;int&nbsp;zigzagDecode(int&nbsp;encoded)</pre>
208</li>
209</ul>
210<a name="zigzagEncode(long)">
211<!--   -->
212</a>
213<ul class="blockList">
214<li class="blockList">
215<h4>zigzagEncode</h4>
216<pre>public static&nbsp;long&nbsp;zigzagEncode(long&nbsp;input)</pre>
217</li>
218</ul>
219<a name="zigzagDecode(long)">
220<!--   -->
221</a>
222<ul class="blockListLast">
223<li class="blockList">
224<h4>zigzagDecode</h4>
225<pre>public static&nbsp;long&nbsp;zigzagDecode(long&nbsp;encoded)</pre>
226</li>
227</ul>
228</li>
229</ul>
230</li>
231</ul>
232</div>
233</div>
234<!-- ========= END OF CLASS DATA ========= -->
235<!-- ======= START OF BOTTOM NAVBAR ====== -->
236<div class="bottomNav"><a name="navbar_bottom">
237<!--   -->
238</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
239<!--   -->
240</a>
241<ul class="navList" title="Navigation">
242<li><a href="../../../../overview-summary.html">Overview</a></li>
243<li><a href="package-summary.html">Package</a></li>
244<li class="navBarCell1Rev">Class</li>
245<li><a href="class-use/SmileUtil.html">Use</a></li>
246<li><a href="package-tree.html">Tree</a></li>
247<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
248<li><a href="../../../../index-all.html">Index</a></li>
249<li><a href="../../../../help-doc.html">Help</a></li>
250</ul>
251</div>
252<div class="subNav">
253<ul class="navList">
254<li><a href="../../../../org/codehaus/jackson/smile/SmileParserBootstrapper.html" title="class in org.codehaus.jackson.smile"><span class="strong">Prev Class</span></a></li>
255<li><a href="../../../../org/codehaus/jackson/smile/Tool.html" title="class in org.codehaus.jackson.smile"><span class="strong">Next Class</span></a></li>
256</ul>
257<ul class="navList">
258<li><a href="../../../../index.html?org/codehaus/jackson/smile/SmileUtil.html" target="_top">Frames</a></li>
259<li><a href="SmileUtil.html" target="_top">No Frames</a></li>
260</ul>
261<ul class="navList" id="allclasses_navbar_bottom">
262<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
263</ul>
264<div>
265<script type="text/javascript"><!--
266  allClassesLink = document.getElementById("allclasses_navbar_bottom");
267  if(window==top) {
268    allClassesLink.style.display = "block";
269  }
270  else {
271    allClassesLink.style.display = "none";
272  }
273  //-->
274</script>
275</div>
276<div>
277<ul class="subNavList">
278<li>Summary:&nbsp;</li>
279<li>Nested&nbsp;|&nbsp;</li>
280<li>Field&nbsp;|&nbsp;</li>
281<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
282<li><a href="#method_summary">Method</a></li>
283</ul>
284<ul class="subNavList">
285<li>Detail:&nbsp;</li>
286<li>Field&nbsp;|&nbsp;</li>
287<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
288<li><a href="#method_detail">Method</a></li>
289</ul>
290</div>
291<a name="skip-navbar_bottom">
292<!--   -->
293</a></div>
294<!-- ======== END OF BOTTOM NAVBAR ======= -->
295</body>
296</html>
297