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 (1.8.0_162) on Tue Jan 23 20:22:16 PST 2018 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>IntNode (jackson-databind 2.9.0 API)</title>
8<meta name="date" content="2018-01-23">
9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10<script type="text/javascript" src="../../../../../script.js"></script>
11</head>
12<body>
13<script type="text/javascript"><!--
14    try {
15        if (location.href.indexOf('is-external=true') == -1) {
16            parent.document.title="IntNode (jackson-databind 2.9.0 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":9};
23var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
24var altColor = "altColor";
25var rowColor = "rowColor";
26var tableTab = "tableTab";
27var activeTableTab = "activeTableTab";
28</script>
29<noscript>
30<div>JavaScript is disabled on your browser.</div>
31</noscript>
32<!-- ========= START OF TOP NAVBAR ======= -->
33<div class="topNav"><a name="navbar.top">
34<!--   -->
35</a>
36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37<a name="navbar.top.firstrow">
38<!--   -->
39</a>
40<ul class="navList" title="Navigation">
41<li><a href="../../../../../overview-summary.html">Overview</a></li>
42<li><a href="package-summary.html">Package</a></li>
43<li class="navBarCell1Rev">Class</li>
44<li><a href="class-use/IntNode.html">Use</a></li>
45<li><a href="package-tree.html">Tree</a></li>
46<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
47<li><a href="../../../../../index-all.html">Index</a></li>
48<li><a href="../../../../../help-doc.html">Help</a></li>
49</ul>
50</div>
51<div class="subNav">
52<ul class="navList">
53<li><a href="../../../../../com/fasterxml/jackson/databind/node/FloatNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54<li><a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeCreator.html" title="interface in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
55</ul>
56<ul class="navList">
57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/IntNode.html" target="_top">Frames</a></li>
58<li><a href="IntNode.html" target="_top">No&nbsp;Frames</a></li>
59</ul>
60<ul class="navList" id="allclasses_navbar_top">
61<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
62</ul>
63<div>
64<script type="text/javascript"><!--
65  allClassesLink = document.getElementById("allclasses_navbar_top");
66  if(window==top) {
67    allClassesLink.style.display = "block";
68  }
69  else {
70    allClassesLink.style.display = "none";
71  }
72  //-->
73</script>
74</div>
75<div>
76<ul class="subNavList">
77<li>Summary:&nbsp;</li>
78<li>Nested&nbsp;|&nbsp;</li>
79<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
80<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
81<li><a href="#method.summary">Method</a></li>
82</ul>
83<ul class="subNavList">
84<li>Detail:&nbsp;</li>
85<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
86<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
87<li><a href="#method.detail">Method</a></li>
88</ul>
89</div>
90<a name="skip.navbar.top">
91<!--   -->
92</a></div>
93<!-- ========= END OF TOP NAVBAR ========= -->
94<!-- ======== START OF CLASS DATA ======== -->
95<div class="header">
96<div class="subTitle">com.fasterxml.jackson.databind.node</div>
97<h2 title="Class IntNode" class="title">Class IntNode</h2>
98</div>
99<div class="contentContainer">
100<ul class="inheritance">
101<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
102<li>
103<ul class="inheritance">
104<li><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonSerializable.Base</a></li>
105<li>
106<ul class="inheritance">
107<li><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</a></li>
108<li>
109<ul class="inheritance">
110<li><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.BaseJsonNode</a></li>
111<li>
112<ul class="inheritance">
113<li><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.ValueNode</a></li>
114<li>
115<ul class="inheritance">
116<li><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.NumericNode</a></li>
117<li>
118<ul class="inheritance">
119<li>com.fasterxml.jackson.databind.node.IntNode</li>
120</ul>
121</li>
122</ul>
123</li>
124</ul>
125</li>
126</ul>
127</li>
128</ul>
129</li>
130</ul>
131</li>
132</ul>
133<div class="description">
134<ul class="blockList">
135<li class="blockList">
136<dl>
137<dt>All Implemented Interfaces:</dt>
138<dd><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;</dd>
139</dl>
140<hr>
141<br>
142<pre>public class <span class="typeNameLabel">IntNode</span>
143extends <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></pre>
144<div class="block">Numeric node that contains simple 32-bit integer values.</div>
145</li>
146</ul>
147</div>
148<div class="summary">
149<ul class="blockList">
150<li class="blockList">
151<!-- ======== NESTED CLASS SUMMARY ======== -->
152<ul class="blockList">
153<li class="blockList"><a name="nested.class.summary">
154<!--   -->
155</a>
156<h3>Nested Class Summary</h3>
157<ul class="blockList">
158<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable">
159<!--   -->
160</a>
161<h3>Nested classes/interfaces inherited from interface&nbsp;com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></h3>
162<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></code></li>
163</ul>
164</li>
165</ul>
166<!-- =========== FIELD SUMMARY =========== -->
167<ul class="blockList">
168<li class="blockList"><a name="field.summary">
169<!--   -->
170</a>
171<h3>Field Summary</h3>
172<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
173<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
174<tr>
175<th class="colFirst" scope="col">Modifier and Type</th>
176<th class="colLast" scope="col">Field and Description</th>
177</tr>
178<tr class="altColor">
179<td class="colFirst"><code>protected int</code></td>
180<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#Z:Z_value">_value</a></span></code>
181<div class="block">Integer value this node contains</div>
182</td>
183</tr>
184</table>
185</li>
186</ul>
187<!-- ======== CONSTRUCTOR SUMMARY ======== -->
188<ul class="blockList">
189<li class="blockList"><a name="constructor.summary">
190<!--   -->
191</a>
192<h3>Constructor Summary</h3>
193<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
194<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
195<tr>
196<th class="colOne" scope="col">Constructor and Description</th>
197</tr>
198<tr class="altColor">
199<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#IntNode-int-">IntNode</a></span>(int&nbsp;v)</code>&nbsp;</td>
200</tr>
201</table>
202</li>
203</ul>
204<!-- ========== METHOD SUMMARY =========== -->
205<ul class="blockList">
206<li class="blockList"><a name="method.summary">
207<!--   -->
208</a>
209<h3>Method Summary</h3>
210<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
211<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
212<tr>
213<th class="colFirst" scope="col">Modifier and Type</th>
214<th class="colLast" scope="col">Method and Description</th>
215</tr>
216<tr id="i0" class="altColor">
217<td class="colFirst"><code>boolean</code></td>
218<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#asBoolean-boolean-">asBoolean</a></span>(boolean&nbsp;defaultValue)</code>
219<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.</div>
220</td>
221</tr>
222<tr id="i1" class="rowColor">
223<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
224<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#asText--">asText</a></span>()</code>
225<div class="block">Method that will return a valid String representation of
226 the container value, if the node is a value node
227 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode--"><code>JsonNode.isValueNode()</code></a> returns true),
228 otherwise empty String.</div>
229</td>
230</tr>
231<tr id="i2" class="altColor">
232<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a></code></td>
233<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#asToken--">asToken</a></span>()</code>
234<div class="block">Method that can be used for efficient type detection
235 when using stream abstraction for traversing nodes.</div>
236</td>
237</tr>
238<tr id="i3" class="rowColor">
239<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a></code></td>
240<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#bigIntegerValue--">bigIntegerValue</a></span>()</code>
241<div class="block">Returns integer value for this node (as <a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a>), <b>if and only if</b>
242 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> returns true).</div>
243</td>
244</tr>
245<tr id="i4" class="altColor">
246<td class="colFirst"><code>boolean</code></td>
247<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#canConvertToInt--">canConvertToInt</a></span>()</code>
248<div class="block">Method that can be used to check whether this node is a numeric
249 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits
250 within Java's 32-bit signed integer type, <code>int</code>.</div>
251</td>
252</tr>
253<tr id="i5" class="rowColor">
254<td class="colFirst"><code>boolean</code></td>
255<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#canConvertToLong--">canConvertToLong</a></span>()</code>
256<div class="block">Method that can be used to check whether this node is a numeric
257 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits
258 within Java's 64-bit signed integer type, <code>long</code>.</div>
259</td>
260</tr>
261<tr id="i6" class="altColor">
262<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a></code></td>
263<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#decimalValue--">decimalValue</a></span>()</code>
264<div class="block">Returns floating point value for this node (as <a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a>), <b>if and only if</b>
265 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> returns true).</div>
266</td>
267</tr>
268<tr id="i7" class="rowColor">
269<td class="colFirst"><code>double</code></td>
270<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#doubleValue--">doubleValue</a></span>()</code>
271<div class="block">Returns 64-bit floating point (double) value for this node, <b>if and only if</b>
272 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> returns true).</div>
273</td>
274</tr>
275<tr id="i8" class="altColor">
276<td class="colFirst"><code>boolean</code></td>
277<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>
278<div class="block">Equality for node objects is defined as full (deep) value
279 equality.</div>
280</td>
281</tr>
282<tr id="i9" class="rowColor">
283<td class="colFirst"><code>float</code></td>
284<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#floatValue--">floatValue</a></span>()</code>
285<div class="block">Returns 32-bit floating value for this node, <b>if and only if</b>
286 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> returns true).</div>
287</td>
288</tr>
289<tr id="i10" class="altColor">
290<td class="colFirst"><code>int</code></td>
291<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
292</tr>
293<tr id="i11" class="rowColor">
294<td class="colFirst"><code>int</code></td>
295<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#intValue--">intValue</a></span>()</code>
296<div class="block">Returns integer value for this node, <b>if and only if</b>
297 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> returns true).</div>
298</td>
299</tr>
300<tr id="i12" class="altColor">
301<td class="colFirst"><code>boolean</code></td>
302<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#isInt--">isInt</a></span>()</code>
303<div class="block">Method that can be used to check whether contained value
304 is a number represented as Java <code>int</code>.</div>
305</td>
306</tr>
307<tr id="i13" class="rowColor">
308<td class="colFirst"><code>boolean</code></td>
309<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#isIntegralNumber--">isIntegralNumber</a></span>()</code>&nbsp;</td>
310</tr>
311<tr id="i14" class="altColor">
312<td class="colFirst"><code>long</code></td>
313<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#longValue--">longValue</a></span>()</code>
314<div class="block">Returns 64-bit long value for this node, <b>if and only if</b>
315 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> returns true).</div>
316</td>
317</tr>
318<tr id="i15" class="rowColor">
319<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.NumberType.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.NumberType</a></code></td>
320<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#numberType--">numberType</a></span>()</code>
321<div class="block">Returns code that identifies type of underlying numeric
322 value, if (and only if) node is a number node.</div>
323</td>
324</tr>
325<tr id="i16" class="altColor">
326<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a></code></td>
327<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#numberValue--">numberValue</a></span>()</code>
328<div class="block">Returns numeric value for this node, <b>if and only if</b>
329 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> returns true); otherwise
330 returns null</div>
331</td>
332</tr>
333<tr id="i17" class="rowColor">
334<td class="colFirst"><code>void</code></td>
335<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jg,
336         <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>
337<div class="block">Method called to serialize node instances using given generator.</div>
338</td>
339</tr>
340<tr id="i18" class="altColor">
341<td class="colFirst"><code>short</code></td>
342<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#shortValue--">shortValue</a></span>()</code>
343<div class="block">Returns 16-bit short value for this node, <b>if and only if</b>
344 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> returns true).</div>
345</td>
346</tr>
347<tr id="i19" class="rowColor">
348<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html" title="class in com.fasterxml.jackson.databind.node">IntNode</a></code></td>
349<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html#valueOf-int-">valueOf</a></span>(int&nbsp;i)</code>&nbsp;</td>
350</tr>
351</table>
352<ul class="blockList">
353<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.node.NumericNode">
354<!--   -->
355</a>
356<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.node.<a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></h3>
357<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asDouble--">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asDouble-double-">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asInt--">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asInt-int-">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asLong--">asLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asLong-long-">asLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#getNodeType--">getNodeType</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#isNaN--">isNaN</a></code></li>
358</ul>
359<ul class="blockList">
360<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.node.ValueNode">
361<!--   -->
362</a>
363<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.node.<a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></h3>
364<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#Z:Z_at-com.fasterxml.jackson.core.JsonPointer-">_at</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#deepCopy--">deepCopy</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findParent-java.lang.String-">findParent</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findParents-java.lang.String-java.util.List-">findParents</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValue-java.lang.String-">findValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValues-java.lang.String-java.util.List-">findValues</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValuesAsText-java.lang.String-java.util.List-">findValuesAsText</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#get-int-">get</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#get-java.lang.String-">get</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#has-int-">has</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#has-java.lang.String-">has</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#hasNonNull-int-">hasNonNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#hasNonNull-java.lang.String-">hasNonNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#path-int-">path</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#path-java.lang.String-">path</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">serializeWithType</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#toString--">toString</a></code></li>
365</ul>
366<ul class="blockList">
367<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.node.BaseJsonNode">
368<!--   -->
369</a>
370<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.node.<a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></h3>
371<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findPath-java.lang.String-">findPath</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse--">traverse</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse-com.fasterxml.jackson.core.ObjectCodec-">traverse</a></code></li>
372</ul>
373<ul class="blockList">
374<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonNode">
375<!--   -->
376</a>
377<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></h3>
378<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean--">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText-java.lang.String-">asText</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#at-com.fasterxml.jackson.core.JsonPointer-">at</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#at-java.lang.String-">at</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#binaryValue--">binaryValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#booleanValue--">booleanValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#elements--">elements</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals-java.util.Comparator-com.fasterxml.jackson.databind.JsonNode-">equals</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fieldNames--">fieldNames</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fields--">fields</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents-java.lang.String-">findParents</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues-java.lang.String-">findValues</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText-java.lang.String-">findValuesAsText</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isArray--">isArray</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigDecimal--">isBigDecimal</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigInteger--">isBigInteger</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary--">isBinary</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBoolean--">isBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode--">isContainerNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isDouble--">isDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloat--">isFloat</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloatingPointNumber--">isFloatingPointNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isLong--">isLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--">isMissingNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNull--">isNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--">isNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isObject--">isObject</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isPojo--">isPojo</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isShort--">isShort</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual--">isTextual</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode--">isValueNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#iterator--">iterator</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#size--">size</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue--">textValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#with-java.lang.String-">with</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray-java.lang.String-">withArray</a></code></li>
379</ul>
380<ul class="blockList">
381<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable.Base">
382<!--   -->
383</a>
384<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></h3>
385<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html#isEmpty-com.fasterxml.jackson.databind.SerializerProvider-">isEmpty</a></code></li>
386</ul>
387<ul class="blockList">
388<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
389<!--   -->
390</a>
391<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
392<code><a href="http://docs.oracle.com/javase/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
393</ul>
394<ul class="blockList">
395<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable">
396<!--   -->
397</a>
398<h3>Methods inherited from interface&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a></h3>
399<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-" title="class or interface in java.lang">forEach</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true#spliterator--" title="class or interface in java.lang">spliterator</a></code></li>
400</ul>
401</li>
402</ul>
403</li>
404</ul>
405</div>
406<div class="details">
407<ul class="blockList">
408<li class="blockList">
409<!-- ============ FIELD DETAIL =========== -->
410<ul class="blockList">
411<li class="blockList"><a name="field.detail">
412<!--   -->
413</a>
414<h3>Field Detail</h3>
415<a name="Z:Z_value">
416<!--   -->
417</a>
418<ul class="blockListLast">
419<li class="blockList">
420<h4>_value</h4>
421<pre>protected final&nbsp;int _value</pre>
422<div class="block">Integer value this node contains</div>
423</li>
424</ul>
425</li>
426</ul>
427<!-- ========= CONSTRUCTOR DETAIL ======== -->
428<ul class="blockList">
429<li class="blockList"><a name="constructor.detail">
430<!--   -->
431</a>
432<h3>Constructor Detail</h3>
433<a name="IntNode-int-">
434<!--   -->
435</a>
436<ul class="blockListLast">
437<li class="blockList">
438<h4>IntNode</h4>
439<pre>public&nbsp;IntNode(int&nbsp;v)</pre>
440</li>
441</ul>
442</li>
443</ul>
444<!-- ============ METHOD DETAIL ========== -->
445<ul class="blockList">
446<li class="blockList"><a name="method.detail">
447<!--   -->
448</a>
449<h3>Method Detail</h3>
450<a name="valueOf-int-">
451<!--   -->
452</a>
453<ul class="blockList">
454<li class="blockList">
455<h4>valueOf</h4>
456<pre>public static&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html" title="class in com.fasterxml.jackson.databind.node">IntNode</a>&nbsp;valueOf(int&nbsp;i)</pre>
457</li>
458</ul>
459<a name="asToken--">
460<!--   -->
461</a>
462<ul class="blockList">
463<li class="blockList">
464<h4>asToken</h4>
465<pre>public&nbsp;<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a>&nbsp;asToken()</pre>
466<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken--">BaseJsonNode</a></code></span></div>
467<div class="block">Method that can be used for efficient type detection
468 when using stream abstraction for traversing nodes.
469 Will return the first <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonToken</code></a> that equivalent
470 stream event would produce (for most nodes there is just
471 one token but for structured/container types multiple)</div>
472<dl>
473<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
474<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#asToken--" title="class or interface in com.fasterxml.jackson.core">asToken</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
475<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
476<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#asToken--">asToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></code></dd>
477</dl>
478</li>
479</ul>
480<a name="numberType--">
481<!--   -->
482</a>
483<ul class="blockList">
484<li class="blockList">
485<h4>numberType</h4>
486<pre>public&nbsp;<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.NumberType.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.NumberType</a>&nbsp;numberType()</pre>
487<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#numberType--">BaseJsonNode</a></code></span></div>
488<div class="block">Returns code that identifies type of underlying numeric
489 value, if (and only if) node is a number node.</div>
490<dl>
491<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
492<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#numberType--" title="class or interface in com.fasterxml.jackson.core">numberType</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
493<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
494<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#numberType--">numberType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
495</dl>
496</li>
497</ul>
498<a name="isIntegralNumber--">
499<!--   -->
500</a>
501<ul class="blockList">
502<li class="blockList">
503<h4>isIntegralNumber</h4>
504<pre>public&nbsp;boolean&nbsp;isIntegralNumber()</pre>
505<dl>
506<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
507<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isIntegralNumber--">isIntegralNumber</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
508<dt><span class="returnLabel">Returns:</span></dt>
509<dd>True if this node represents an integral (integer)
510   numeric JSON value</dd>
511</dl>
512</li>
513</ul>
514<a name="isInt--">
515<!--   -->
516</a>
517<ul class="blockList">
518<li class="blockList">
519<h4>isInt</h4>
520<pre>public&nbsp;boolean&nbsp;isInt()</pre>
521<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isInt--">JsonNode</a></code></span></div>
522<div class="block">Method that can be used to check whether contained value
523 is a number represented as Java <code>int</code>.
524 Note, however, that even if this method returns false, it
525 is possible that conversion would be possible from other numeric
526 types -- to check if this is possible, use
527 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt--"><code>JsonNode.canConvertToInt()</code></a> instead.</div>
528<dl>
529<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
530<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isInt--">isInt</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
531<dt><span class="returnLabel">Returns:</span></dt>
532<dd>True if the value contained by this node is stored as Java int</dd>
533</dl>
534</li>
535</ul>
536<a name="canConvertToInt--">
537<!--   -->
538</a>
539<ul class="blockList">
540<li class="blockList">
541<h4>canConvertToInt</h4>
542<pre>public&nbsp;boolean&nbsp;canConvertToInt()</pre>
543<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt--">JsonNode</a></code></span></div>
544<div class="block">Method that can be used to check whether this node is a numeric
545 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits
546 within Java's 32-bit signed integer type, <code>int</code>.
547 Note that floating-point numbers are convertible if the integral
548 part fits without overflow (as per standard Java coercion rules)
549<p>
550 NOTE: this method does not consider possible value type conversion
551 from JSON String into Number; so even if this method returns false,
552 it is possible that <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt--"><code>JsonNode.asInt()</code></a> could still succeed
553 if node is a JSON String representing integral number, or boolean.</div>
554<dl>
555<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
556<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#canConvertToInt--">canConvertToInt</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
557</dl>
558</li>
559</ul>
560<a name="canConvertToLong--">
561<!--   -->
562</a>
563<ul class="blockList">
564<li class="blockList">
565<h4>canConvertToLong</h4>
566<pre>public&nbsp;boolean&nbsp;canConvertToLong()</pre>
567<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToLong--">JsonNode</a></code></span></div>
568<div class="block">Method that can be used to check whether this node is a numeric
569 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits
570 within Java's 64-bit signed integer type, <code>long</code>.
571 Note that floating-point numbers are convertible if the integral
572 part fits without overflow (as per standard Java coercion rules)
573<p>
574 NOTE: this method does not consider possible value type conversion
575 from JSON String into Number; so even if this method returns false,
576 it is possible that <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong--"><code>JsonNode.asLong()</code></a> could still succeed
577 if node is a JSON String representing integral number, or boolean.</div>
578<dl>
579<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
580<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#canConvertToLong--">canConvertToLong</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
581</dl>
582</li>
583</ul>
584<a name="numberValue--">
585<!--   -->
586</a>
587<ul class="blockList">
588<li class="blockList">
589<h4>numberValue</h4>
590<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&nbsp;numberValue()</pre>
591<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue--">JsonNode</a></code></span></div>
592<div class="block">Returns numeric value for this node, <b>if and only if</b>
593 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> returns true); otherwise
594 returns null</div>
595<dl>
596<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
597<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#numberValue--">numberValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
598<dt><span class="returnLabel">Returns:</span></dt>
599<dd>Number value this node contains, if any (null for non-number
600   nodes).</dd>
601</dl>
602</li>
603</ul>
604<a name="shortValue--">
605<!--   -->
606</a>
607<ul class="blockList">
608<li class="blockList">
609<h4>shortValue</h4>
610<pre>public&nbsp;short&nbsp;shortValue()</pre>
611<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#shortValue--">JsonNode</a></code></span></div>
612<div class="block">Returns 16-bit short value for this node, <b>if and only if</b>
613 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> returns true). For other
614 types returns 0.
615 For floating-point numbers, value is truncated using default
616 Java coercion, similar to how cast from double to short operates.</div>
617<dl>
618<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
619<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#shortValue--">shortValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
620<dt><span class="returnLabel">Returns:</span></dt>
621<dd>Short value this node contains, if any; 0 for non-number
622   nodes.</dd>
623</dl>
624</li>
625</ul>
626<a name="intValue--">
627<!--   -->
628</a>
629<ul class="blockList">
630<li class="blockList">
631<h4>intValue</h4>
632<pre>public&nbsp;int&nbsp;intValue()</pre>
633<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue--">JsonNode</a></code></span></div>
634<div class="block">Returns integer value for this node, <b>if and only if</b>
635 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> returns true). For other
636 types returns 0.
637 For floating-point numbers, value is truncated using default
638 Java coercion, similar to how cast from double to int operates.</div>
639<dl>
640<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
641<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#intValue--">intValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
642<dt><span class="returnLabel">Returns:</span></dt>
643<dd>Integer value this node contains, if any; 0 for non-number
644   nodes.</dd>
645</dl>
646</li>
647</ul>
648<a name="longValue--">
649<!--   -->
650</a>
651<ul class="blockList">
652<li class="blockList">
653<h4>longValue</h4>
654<pre>public&nbsp;long&nbsp;longValue()</pre>
655<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#longValue--">JsonNode</a></code></span></div>
656<div class="block">Returns 64-bit long value for this node, <b>if and only if</b>
657 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> returns true). For other
658 types returns 0.
659 For floating-point numbers, value is truncated using default
660 Java coercion, similar to how cast from double to long operates.</div>
661<dl>
662<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
663<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#longValue--">longValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
664<dt><span class="returnLabel">Returns:</span></dt>
665<dd>Long value this node contains, if any; 0 for non-number
666   nodes.</dd>
667</dl>
668</li>
669</ul>
670<a name="floatValue--">
671<!--   -->
672</a>
673<ul class="blockList">
674<li class="blockList">
675<h4>floatValue</h4>
676<pre>public&nbsp;float&nbsp;floatValue()</pre>
677<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#floatValue--">JsonNode</a></code></span></div>
678<div class="block">Returns 32-bit floating value for this node, <b>if and only if</b>
679 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> returns true). For other
680 types returns 0.0.
681 For integer values, conversion is done using coercion; this means
682 that an overflow is possible for `long` values</div>
683<dl>
684<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
685<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#floatValue--">floatValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
686<dt><span class="returnLabel">Returns:</span></dt>
687<dd>32-bit float value this node contains, if any; 0.0 for non-number nodes.</dd>
688</dl>
689</li>
690</ul>
691<a name="doubleValue--">
692<!--   -->
693</a>
694<ul class="blockList">
695<li class="blockList">
696<h4>doubleValue</h4>
697<pre>public&nbsp;double&nbsp;doubleValue()</pre>
698<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#doubleValue--">JsonNode</a></code></span></div>
699<div class="block">Returns 64-bit floating point (double) value for this node, <b>if and only if</b>
700 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> returns true). For other
701 types returns 0.0.
702 For integer values, conversion is done using coercion; this may result
703 in overflows with <a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><code>BigInteger</code></a> values.</div>
704<dl>
705<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
706<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#doubleValue--">doubleValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
707<dt><span class="returnLabel">Returns:</span></dt>
708<dd>64-bit double value this node contains, if any; 0.0 for non-number nodes.</dd>
709</dl>
710</li>
711</ul>
712<a name="decimalValue--">
713<!--   -->
714</a>
715<ul class="blockList">
716<li class="blockList">
717<h4>decimalValue</h4>
718<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a>&nbsp;decimalValue()</pre>
719<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#decimalValue--">JsonNode</a></code></span></div>
720<div class="block">Returns floating point value for this node (as <a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a>), <b>if and only if</b>
721 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> returns true). For other
722 types returns <code>BigDecimal.ZERO</code>.</div>
723<dl>
724<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
725<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#decimalValue--">decimalValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
726<dt><span class="returnLabel">Returns:</span></dt>
727<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a> value this node contains, if numeric node; <code>BigDecimal.ZERO</code> for non-number nodes.</dd>
728</dl>
729</li>
730</ul>
731<a name="bigIntegerValue--">
732<!--   -->
733</a>
734<ul class="blockList">
735<li class="blockList">
736<h4>bigIntegerValue</h4>
737<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a>&nbsp;bigIntegerValue()</pre>
738<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#bigIntegerValue--">JsonNode</a></code></span></div>
739<div class="block">Returns integer value for this node (as <a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a>), <b>if and only if</b>
740 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>JsonNode.isNumber()</code></a> returns true). For other
741 types returns <code>BigInteger.ZERO</code>.</div>
742<dl>
743<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
744<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#bigIntegerValue--">bigIntegerValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
745<dt><span class="returnLabel">Returns:</span></dt>
746<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><code>BigInteger</code></a> value this node contains, if numeric node; <code>BigInteger.ZERO</code> for non-number nodes.</dd>
747</dl>
748</li>
749</ul>
750<a name="asText--">
751<!--   -->
752</a>
753<ul class="blockList">
754<li class="blockList">
755<h4>asText</h4>
756<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;asText()</pre>
757<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--">JsonNode</a></code></span></div>
758<div class="block">Method that will return a valid String representation of
759 the container value, if the node is a value node
760 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode--"><code>JsonNode.isValueNode()</code></a> returns true),
761 otherwise empty String.</div>
762<dl>
763<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
764<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asText--">asText</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></code></dd>
765</dl>
766</li>
767</ul>
768<a name="asBoolean-boolean-">
769<!--   -->
770</a>
771<ul class="blockList">
772<li class="blockList">
773<h4>asBoolean</h4>
774<pre>public&nbsp;boolean&nbsp;asBoolean(boolean&nbsp;defaultValue)</pre>
775<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean-boolean-">JsonNode</a></code></span></div>
776<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.
777 JSON booleans map naturally; integer numbers other than 0 map to true, and
778 0 maps to false
779 and Strings 'true' and 'false' map to corresponding values.
780<p>
781 If representation cannot be converted to a boolean value (including structured types
782 like Objects and Arrays),
783 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
784<dl>
785<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
786<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean-boolean-">asBoolean</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
787</dl>
788</li>
789</ul>
790<a name="serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">
791<!--   -->
792</a>
793<ul class="blockList">
794<li class="blockList">
795<h4>serialize</h4>
796<pre>public final&nbsp;void&nbsp;serialize(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jg,
797                            <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
798                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
799                            <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre>
800<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">BaseJsonNode</a></code></span></div>
801<div class="block">Method called to serialize node instances using given generator.</div>
802<dl>
803<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
804<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd>
805<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
806<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd>
807<dt><span class="throwsLabel">Throws:</span></dt>
808<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
809<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd>
810</dl>
811</li>
812</ul>
813<a name="equals-java.lang.Object-">
814<!--   -->
815</a>
816<ul class="blockList">
817<li class="blockList">
818<h4>equals</h4>
819<pre>public&nbsp;boolean&nbsp;equals(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
820<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals-java.lang.Object-">JsonNode</a></code></span></div>
821<div class="block">Equality for node objects is defined as full (deep) value
822 equality. This means that it is possible to compare complete
823 JSON trees for equality by comparing equality of root nodes.
824<p>
825 Note: marked as abstract to ensure all implementation
826 classes define it properly and not rely on definition
827 from <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div>
828<dl>
829<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
830<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals-java.lang.Object-">equals</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
831</dl>
832</li>
833</ul>
834<a name="hashCode--">
835<!--   -->
836</a>
837<ul class="blockListLast">
838<li class="blockList">
839<h4>hashCode</h4>
840<pre>public&nbsp;int&nbsp;hashCode()</pre>
841<dl>
842<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
843<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#hashCode--">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd>
844</dl>
845</li>
846</ul>
847</li>
848</ul>
849</li>
850</ul>
851</div>
852</div>
853<!-- ========= END OF CLASS DATA ========= -->
854<!-- ======= START OF BOTTOM NAVBAR ====== -->
855<div class="bottomNav"><a name="navbar.bottom">
856<!--   -->
857</a>
858<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
859<a name="navbar.bottom.firstrow">
860<!--   -->
861</a>
862<ul class="navList" title="Navigation">
863<li><a href="../../../../../overview-summary.html">Overview</a></li>
864<li><a href="package-summary.html">Package</a></li>
865<li class="navBarCell1Rev">Class</li>
866<li><a href="class-use/IntNode.html">Use</a></li>
867<li><a href="package-tree.html">Tree</a></li>
868<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
869<li><a href="../../../../../index-all.html">Index</a></li>
870<li><a href="../../../../../help-doc.html">Help</a></li>
871</ul>
872</div>
873<div class="subNav">
874<ul class="navList">
875<li><a href="../../../../../com/fasterxml/jackson/databind/node/FloatNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
876<li><a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeCreator.html" title="interface in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
877</ul>
878<ul class="navList">
879<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/IntNode.html" target="_top">Frames</a></li>
880<li><a href="IntNode.html" target="_top">No&nbsp;Frames</a></li>
881</ul>
882<ul class="navList" id="allclasses_navbar_bottom">
883<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
884</ul>
885<div>
886<script type="text/javascript"><!--
887  allClassesLink = document.getElementById("allclasses_navbar_bottom");
888  if(window==top) {
889    allClassesLink.style.display = "block";
890  }
891  else {
892    allClassesLink.style.display = "none";
893  }
894  //-->
895</script>
896</div>
897<div>
898<ul class="subNavList">
899<li>Summary:&nbsp;</li>
900<li>Nested&nbsp;|&nbsp;</li>
901<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
902<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
903<li><a href="#method.summary">Method</a></li>
904</ul>
905<ul class="subNavList">
906<li>Detail:&nbsp;</li>
907<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
908<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
909<li><a href="#method.detail">Method</a></li>
910</ul>
911</div>
912<a name="skip.navbar.bottom">
913<!--   -->
914</a></div>
915<!-- ======== END OF BOTTOM NAVBAR ======= -->
916<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
917</body>
918</html>
919