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