• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (version 1.7.0_10-ea) on Mon Apr 22 19:50:40 PDT 2013 -->
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>NumericNode (jackson-databind 2.2.0 API)</title>
8<meta name="date" content="2013-04-22">
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="NumericNode (jackson-databind 2.2.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/NumericNode.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/NullNode.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/ObjectNode.html" title="class 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/NumericNode.html" target="_top">Frames</a></li>
45<li><a href="NumericNode.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>Field&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>Field&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 NumericNode" class="title">Class NumericNode</h2>
85</div>
86<div class="contentContainer">
87<ul class="inheritance">
88<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
89<li>
90<ul class="inheritance">
91<li><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</a></li>
92<li>
93<ul class="inheritance">
94<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>
95<li>
96<ul class="inheritance">
97<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>
98<li>
99<ul class="inheritance">
100<li>com.fasterxml.jackson.databind.node.NumericNode</li>
101</ul>
102</li>
103</ul>
104</li>
105</ul>
106</li>
107</ul>
108</li>
109</ul>
110<div class="description">
111<ul class="blockList">
112<li class="blockList">
113<dl>
114<dt>All Implemented Interfaces:</dt>
115<dd><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/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/6/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>
116</dl>
117<dl>
118<dt>Direct Known Subclasses:</dt>
119<dd><a href="../../../../../com/fasterxml/jackson/databind/node/BigIntegerNode.html" title="class in com.fasterxml.jackson.databind.node">BigIntegerNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/DecimalNode.html" title="class in com.fasterxml.jackson.databind.node">DecimalNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html" title="class in com.fasterxml.jackson.databind.node">DoubleNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/FloatNode.html" title="class in com.fasterxml.jackson.databind.node">FloatNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html" title="class in com.fasterxml.jackson.databind.node">IntNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/LongNode.html" title="class in com.fasterxml.jackson.databind.node">LongNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ShortNode.html" title="class in com.fasterxml.jackson.databind.node">ShortNode</a></dd>
120</dl>
121<hr>
122<br>
123<pre>public abstract class <span class="strong">NumericNode</span>
124extends <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></pre>
125<div class="block">Intermediate value node used for numeric nodes.</div>
126</li>
127</ul>
128</div>
129<div class="summary">
130<ul class="blockList">
131<li class="blockList">
132<!-- ======== CONSTRUCTOR SUMMARY ======== -->
133<ul class="blockList">
134<li class="blockList"><a name="constructor_summary">
135<!--   -->
136</a>
137<h3>Constructor Summary</h3>
138<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
139<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
140<tr>
141<th class="colFirst" scope="col">Modifier</th>
142<th class="colLast" scope="col">Constructor and Description</th>
143</tr>
144<tr class="altColor">
145<td class="colFirst"><code>protected </code></td>
146<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#NumericNode()">NumericNode</a></strong>()</code>&nbsp;</td>
147</tr>
148</table>
149</li>
150</ul>
151<!-- ========== METHOD SUMMARY =========== -->
152<ul class="blockList">
153<li class="blockList"><a name="method_summary">
154<!--   -->
155</a>
156<h3>Method Summary</h3>
157<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
158<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
159<tr>
160<th class="colFirst" scope="col">Modifier and Type</th>
161<th class="colLast" scope="col">Method and Description</th>
162</tr>
163<tr class="altColor">
164<td class="colFirst"><code>double</code></td>
165<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asDouble()">asDouble</a></strong>()</code>
166<div class="block">Method that will try to convert value of this node to a Java <b>double</b>.</div>
167</td>
168</tr>
169<tr class="rowColor">
170<td class="colFirst"><code>double</code></td>
171<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asDouble(double)">asDouble</a></strong>(double&nbsp;defaultValue)</code>
172<div class="block">Method that will try to convert value of this node to a Java <b>double</b>.</div>
173</td>
174</tr>
175<tr class="altColor">
176<td class="colFirst"><code>int</code></td>
177<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asInt()">asInt</a></strong>()</code>
178<div class="block">Method that will try to convert value of this node to a Java <b>int</b>.</div>
179</td>
180</tr>
181<tr class="rowColor">
182<td class="colFirst"><code>int</code></td>
183<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asInt(int)">asInt</a></strong>(int&nbsp;defaultValue)</code>
184<div class="block">Method that will try to convert value of this node to a Java <b>int</b>.</div>
185</td>
186</tr>
187<tr class="altColor">
188<td class="colFirst"><code>long</code></td>
189<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asLong()">asLong</a></strong>()</code>
190<div class="block">Method that will try to convert value of this node to a Java <b>long</b>.</div>
191</td>
192</tr>
193<tr class="rowColor">
194<td class="colFirst"><code>long</code></td>
195<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asLong(long)">asLong</a></strong>(long&nbsp;defaultValue)</code>
196<div class="block">Method that will try to convert value of this node to a Java <b>long</b>.</div>
197</td>
198</tr>
199<tr class="altColor">
200<td class="colFirst"><code>abstract <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
201<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asText()">asText</a></strong>()</code>
202<div class="block">Method that will return a valid String representation of
203 the container value, if the node is a value node
204 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><code>JsonNode.isValueNode()</code></a> returns true),
205 otherwise empty String.</div>
206</td>
207</tr>
208<tr class="rowColor">
209<td class="colFirst"><code>abstract <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a></code></td>
210<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#bigIntegerValue()">bigIntegerValue</a></strong>()</code>&nbsp;</td>
211</tr>
212<tr class="altColor">
213<td class="colFirst"><code>abstract boolean</code></td>
214<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#canConvertToInt()">canConvertToInt</a></strong>()</code>
215<div class="block">Method that can be used to check whether this node is a numeric
216 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits
217 within Java's 32-bit signed integer type, <code>int</code>.</div>
218</td>
219</tr>
220<tr class="rowColor">
221<td class="colFirst"><code>abstract boolean</code></td>
222<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#canConvertToLong()">canConvertToLong</a></strong>()</code>
223<div class="block">Method that can be used to check whether this node is a numeric
224 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits
225 within Java's 64-bit signed integer type, <code>long</code>.</div>
226</td>
227</tr>
228<tr class="altColor">
229<td class="colFirst"><code>abstract <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a></code></td>
230<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#decimalValue()">decimalValue</a></strong>()</code>&nbsp;</td>
231</tr>
232<tr class="rowColor">
233<td class="colFirst"><code>abstract double</code></td>
234<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#doubleValue()">doubleValue</a></strong>()</code>
235<div class="block">Returns 64-bit floating point (double) value for this node, <b>if and only if</b>
236 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div>
237</td>
238</tr>
239<tr class="altColor">
240<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a></code></td>
241<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#getNodeType()">getNodeType</a></strong>()</code>
242<div class="block">Return the type of this node</div>
243</td>
244</tr>
245<tr class="rowColor">
246<td class="colFirst"><code>abstract int</code></td>
247<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#intValue()">intValue</a></strong>()</code>
248<div class="block">Returns integer value for this node, <b>if and only if</b>
249 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div>
250</td>
251</tr>
252<tr class="altColor">
253<td class="colFirst"><code>abstract long</code></td>
254<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#longValue()">longValue</a></strong>()</code>
255<div class="block">Returns 64-bit long value for this node, <b>if and only if</b>
256 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div>
257</td>
258</tr>
259<tr class="rowColor">
260<td class="colFirst"><code>abstract <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonParser.NumberType.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.NumberType</a></code></td>
261<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#numberType()">numberType</a></strong>()</code>
262<div class="block">Returns code that identifies type of underlying numeric
263 value, if (and only if) node is a number node.</div>
264</td>
265</tr>
266<tr class="altColor">
267<td class="colFirst"><code>abstract <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a></code></td>
268<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#numberValue()">numberValue</a></strong>()</code>
269<div class="block">Returns numeric value for this node, <b>if and only if</b>
270 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true); otherwise
271 returns null</div>
272</td>
273</tr>
274</table>
275<ul class="blockList">
276<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.ValueNode">
277<!--   -->
278</a>
279<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>
280<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#asToken()">asToken</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>
281</ul>
282<ul class="blockList">
283<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode">
284<!--   -->
285</a>
286<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>
287<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#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</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>
288</ul>
289<ul class="blockList">
290<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode">
291<!--   -->
292</a>
293<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>
294<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean()">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean(boolean)">asBoolean</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.lang.Object)">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#floatValue()">floatValue</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#isInt()">isInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isIntegralNumber()">isIntegralNumber</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#shortValue()">shortValue</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>
295</ul>
296<ul class="blockList">
297<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
298<!--   -->
299</a>
300<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
301<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
302</ul>
303</li>
304</ul>
305</li>
306</ul>
307</div>
308<div class="details">
309<ul class="blockList">
310<li class="blockList">
311<!-- ========= CONSTRUCTOR DETAIL ======== -->
312<ul class="blockList">
313<li class="blockList"><a name="constructor_detail">
314<!--   -->
315</a>
316<h3>Constructor Detail</h3>
317<a name="NumericNode()">
318<!--   -->
319</a>
320<ul class="blockListLast">
321<li class="blockList">
322<h4>NumericNode</h4>
323<pre>protected&nbsp;NumericNode()</pre>
324</li>
325</ul>
326</li>
327</ul>
328<!-- ============ METHOD DETAIL ========== -->
329<ul class="blockList">
330<li class="blockList"><a name="method_detail">
331<!--   -->
332</a>
333<h3>Method Detail</h3>
334<a name="getNodeType()">
335<!--   -->
336</a>
337<ul class="blockList">
338<li class="blockList">
339<h4>getNodeType</h4>
340<pre>public final&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a>&nbsp;getNodeType()</pre>
341<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType()">JsonNode</a></code></strong></div>
342<div class="block">Return the type of this node</div>
343<dl>
344<dt><strong>Specified by:</strong></dt>
345<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType()">getNodeType</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>
346<dt><span class="strong">Returns:</span></dt><dd>the node type as a <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node"><code>JsonNodeType</code></a> enum value</dd></dl>
347</li>
348</ul>
349<a name="numberType()">
350<!--   -->
351</a>
352<ul class="blockList">
353<li class="blockList">
354<h4>numberType</h4>
355<pre>public abstract&nbsp;<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/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>
356<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>
357<div class="block">Returns code that identifies type of underlying numeric
358 value, if (and only if) node is a number node.</div>
359<dl>
360<dt><strong>Specified by:</strong></dt>
361<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/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.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
362<dt><strong>Overrides:</strong></dt>
363<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#numberType()">numberType</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>
364</dl>
365</li>
366</ul>
367<a name="numberValue()">
368<!--   -->
369</a>
370<ul class="blockList">
371<li class="blockList">
372<h4>numberValue</h4>
373<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&nbsp;numberValue()</pre>
374<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue()">JsonNode</a></code></strong></div>
375<div class="block">Returns numeric value for this node, <b>if and only if</b>
376 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true); otherwise
377 returns null</div>
378<dl>
379<dt><strong>Overrides:</strong></dt>
380<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue()">numberValue</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>
381<dt><span class="strong">Returns:</span></dt><dd>Number value this node contains, if any (null for non-number
382   nodes).</dd></dl>
383</li>
384</ul>
385<a name="intValue()">
386<!--   -->
387</a>
388<ul class="blockList">
389<li class="blockList">
390<h4>intValue</h4>
391<pre>public abstract&nbsp;int&nbsp;intValue()</pre>
392<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue()">JsonNode</a></code></strong></div>
393<div class="block">Returns integer value for this node, <b>if and only if</b>
394 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other
395 types returns 0.
396 For floating-point numbers, value is truncated using default
397 Java coercion, similar to how cast from double to int operates.</div>
398<dl>
399<dt><strong>Overrides:</strong></dt>
400<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue()">intValue</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>
401<dt><span class="strong">Returns:</span></dt><dd>Integer value this node contains, if any; 0 for non-number
402   nodes.</dd></dl>
403</li>
404</ul>
405<a name="longValue()">
406<!--   -->
407</a>
408<ul class="blockList">
409<li class="blockList">
410<h4>longValue</h4>
411<pre>public abstract&nbsp;long&nbsp;longValue()</pre>
412<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#longValue()">JsonNode</a></code></strong></div>
413<div class="block">Returns 64-bit long value for this node, <b>if and only if</b>
414 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other
415 types returns 0.
416 For floating-point numbers, value is truncated using default
417 Java coercion, similar to how cast from double to long operates.</div>
418<dl>
419<dt><strong>Overrides:</strong></dt>
420<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#longValue()">longValue</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>
421<dt><span class="strong">Returns:</span></dt><dd>Long value this node contains, if any; 0 for non-number
422   nodes.</dd></dl>
423</li>
424</ul>
425<a name="doubleValue()">
426<!--   -->
427</a>
428<ul class="blockList">
429<li class="blockList">
430<h4>doubleValue</h4>
431<pre>public abstract&nbsp;double&nbsp;doubleValue()</pre>
432<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#doubleValue()">JsonNode</a></code></strong></div>
433<div class="block">Returns 64-bit floating point (double) value for this node, <b>if and only if</b>
434 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other
435 types returns 0.0.
436 For integer values, conversion is done using coercion; this may result
437 in overflows with <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><code>BigInteger</code></a> values.</div>
438<dl>
439<dt><strong>Overrides:</strong></dt>
440<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#doubleValue()">doubleValue</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>
441<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>
442</li>
443</ul>
444<a name="decimalValue()">
445<!--   -->
446</a>
447<ul class="blockList">
448<li class="blockList">
449<h4>decimalValue</h4>
450<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a>&nbsp;decimalValue()</pre>
451<dl>
452<dt><strong>Overrides:</strong></dt>
453<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#decimalValue()">decimalValue</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>
454</dl>
455</li>
456</ul>
457<a name="bigIntegerValue()">
458<!--   -->
459</a>
460<ul class="blockList">
461<li class="blockList">
462<h4>bigIntegerValue</h4>
463<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a>&nbsp;bigIntegerValue()</pre>
464<dl>
465<dt><strong>Overrides:</strong></dt>
466<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#bigIntegerValue()">bigIntegerValue</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>
467</dl>
468</li>
469</ul>
470<a name="canConvertToInt()">
471<!--   -->
472</a>
473<ul class="blockList">
474<li class="blockList">
475<h4>canConvertToInt</h4>
476<pre>public abstract&nbsp;boolean&nbsp;canConvertToInt()</pre>
477<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()">JsonNode</a></code></strong></div>
478<div class="block">Method that can be used to check whether this node is a numeric
479 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits
480 within Java's 32-bit signed integer type, <code>int</code>.
481 Note that floating-point numbers are convertible if the integral
482 part fits without overflow (as per standard Java coercion rules)</div>
483<dl>
484<dt><strong>Overrides:</strong></dt>
485<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()">canConvertToInt</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>
486</dl>
487</li>
488</ul>
489<a name="canConvertToLong()">
490<!--   -->
491</a>
492<ul class="blockList">
493<li class="blockList">
494<h4>canConvertToLong</h4>
495<pre>public abstract&nbsp;boolean&nbsp;canConvertToLong()</pre>
496<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToLong()">JsonNode</a></code></strong></div>
497<div class="block">Method that can be used to check whether this node is a numeric
498 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits
499 within Java's 64-bit signed integer type, <code>long</code>.
500 Note that floating-point numbers are convertible if the integral
501 part fits without overflow (as per standard Java coercion rules)</div>
502<dl>
503<dt><strong>Overrides:</strong></dt>
504<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToLong()">canConvertToLong</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>
505</dl>
506</li>
507</ul>
508<a name="asText()">
509<!--   -->
510</a>
511<ul class="blockList">
512<li class="blockList">
513<h4>asText</h4>
514<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;asText()</pre>
515<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()">JsonNode</a></code></strong></div>
516<div class="block">Method that will return a valid String representation of
517 the container value, if the node is a value node
518 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><code>JsonNode.isValueNode()</code></a> returns true),
519 otherwise empty String.</div>
520<dl>
521<dt><strong>Specified by:</strong></dt>
522<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()">asText</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>
523</dl>
524</li>
525</ul>
526<a name="asInt()">
527<!--   -->
528</a>
529<ul class="blockList">
530<li class="blockList">
531<h4>asInt</h4>
532<pre>public final&nbsp;int&nbsp;asInt()</pre>
533<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt()">JsonNode</a></code></strong></div>
534<div class="block">Method that will try to convert value of this node to a Java <b>int</b>.
535 Numbers are coerced using default Java rules; booleans convert to 0 (false)
536 and 1 (true), and Strings are parsed using default Java language integer
537 parsing rules.
538<p>
539 If representation can not be converted to an int (including structured types
540 like Objects and Arrays),
541 default value of <b>0</b> will be returned; no exceptions are thrown.</div>
542<dl>
543<dt><strong>Overrides:</strong></dt>
544<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt()">asInt</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>
545</dl>
546</li>
547</ul>
548<a name="asInt(int)">
549<!--   -->
550</a>
551<ul class="blockList">
552<li class="blockList">
553<h4>asInt</h4>
554<pre>public final&nbsp;int&nbsp;asInt(int&nbsp;defaultValue)</pre>
555<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt(int)">JsonNode</a></code></strong></div>
556<div class="block">Method that will try to convert value of this node to a Java <b>int</b>.
557 Numbers are coerced using default Java rules; booleans convert to 0 (false)
558 and 1 (true), and Strings are parsed using default Java language integer
559 parsing rules.
560<p>
561 If representation can not be converted to an int (including structured types
562 like Objects and Arrays),
563 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
564<dl>
565<dt><strong>Overrides:</strong></dt>
566<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt(int)">asInt</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>
567</dl>
568</li>
569</ul>
570<a name="asLong()">
571<!--   -->
572</a>
573<ul class="blockList">
574<li class="blockList">
575<h4>asLong</h4>
576<pre>public final&nbsp;long&nbsp;asLong()</pre>
577<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong()">JsonNode</a></code></strong></div>
578<div class="block">Method that will try to convert value of this node to a Java <b>long</b>.
579 Numbers are coerced using default Java rules; booleans convert to 0 (false)
580 and 1 (true), and Strings are parsed using default Java language integer
581 parsing rules.
582<p>
583 If representation can not be converted to an long (including structured types
584 like Objects and Arrays),
585 default value of <b>0</b> will be returned; no exceptions are thrown.</div>
586<dl>
587<dt><strong>Overrides:</strong></dt>
588<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong()">asLong</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>
589</dl>
590</li>
591</ul>
592<a name="asLong(long)">
593<!--   -->
594</a>
595<ul class="blockList">
596<li class="blockList">
597<h4>asLong</h4>
598<pre>public final&nbsp;long&nbsp;asLong(long&nbsp;defaultValue)</pre>
599<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong(long)">JsonNode</a></code></strong></div>
600<div class="block">Method that will try to convert value of this node to a Java <b>long</b>.
601 Numbers are coerced using default Java rules; booleans convert to 0 (false)
602 and 1 (true), and Strings are parsed using default Java language integer
603 parsing rules.
604<p>
605 If representation can not be converted to an long (including structured types
606 like Objects and Arrays),
607 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
608<dl>
609<dt><strong>Overrides:</strong></dt>
610<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong(long)">asLong</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>
611</dl>
612</li>
613</ul>
614<a name="asDouble()">
615<!--   -->
616</a>
617<ul class="blockList">
618<li class="blockList">
619<h4>asDouble</h4>
620<pre>public final&nbsp;double&nbsp;asDouble()</pre>
621<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble()">JsonNode</a></code></strong></div>
622<div class="block">Method that will try to convert value of this node to a Java <b>double</b>.
623 Numbers are coerced using default Java rules; booleans convert to 0.0 (false)
624 and 1.0 (true), and Strings are parsed using default Java language integer
625 parsing rules.
626<p>
627 If representation can not be converted to an int (including structured types
628 like Objects and Arrays),
629 default value of <b>0.0</b> will be returned; no exceptions are thrown.</div>
630<dl>
631<dt><strong>Overrides:</strong></dt>
632<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble()">asDouble</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>
633</dl>
634</li>
635</ul>
636<a name="asDouble(double)">
637<!--   -->
638</a>
639<ul class="blockListLast">
640<li class="blockList">
641<h4>asDouble</h4>
642<pre>public final&nbsp;double&nbsp;asDouble(double&nbsp;defaultValue)</pre>
643<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble(double)">JsonNode</a></code></strong></div>
644<div class="block">Method that will try to convert value of this node to a Java <b>double</b>.
645 Numbers are coerced using default Java rules; booleans convert to 0.0 (false)
646 and 1.0 (true), and Strings are parsed using default Java language integer
647 parsing rules.
648<p>
649 If representation can not be converted to an int (including structured types
650 like Objects and Arrays),
651 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
652<dl>
653<dt><strong>Overrides:</strong></dt>
654<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble(double)">asDouble</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>
655</dl>
656</li>
657</ul>
658</li>
659</ul>
660</li>
661</ul>
662</div>
663</div>
664<!-- ========= END OF CLASS DATA ========= -->
665<!-- ======= START OF BOTTOM NAVBAR ====== -->
666<div class="bottomNav"><a name="navbar_bottom">
667<!--   -->
668</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
669<!--   -->
670</a>
671<ul class="navList" title="Navigation">
672<li><a href="../../../../../overview-summary.html">Overview</a></li>
673<li><a href="package-summary.html">Package</a></li>
674<li class="navBarCell1Rev">Class</li>
675<li><a href="class-use/NumericNode.html">Use</a></li>
676<li><a href="package-tree.html">Tree</a></li>
677<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
678<li><a href="../../../../../index-all.html">Index</a></li>
679<li><a href="../../../../../help-doc.html">Help</a></li>
680</ul>
681</div>
682<div class="subNav">
683<ul class="navList">
684<li><a href="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Prev Class</span></a></li>
685<li><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Next Class</span></a></li>
686</ul>
687<ul class="navList">
688<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/NumericNode.html" target="_top">Frames</a></li>
689<li><a href="NumericNode.html" target="_top">No Frames</a></li>
690</ul>
691<ul class="navList" id="allclasses_navbar_bottom">
692<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
693</ul>
694<div>
695<script type="text/javascript"><!--
696  allClassesLink = document.getElementById("allclasses_navbar_bottom");
697  if(window==top) {
698    allClassesLink.style.display = "block";
699  }
700  else {
701    allClassesLink.style.display = "none";
702  }
703  //-->
704</script>
705</div>
706<div>
707<ul class="subNavList">
708<li>Summary:&nbsp;</li>
709<li>Nested&nbsp;|&nbsp;</li>
710<li>Field&nbsp;|&nbsp;</li>
711<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
712<li><a href="#method_summary">Method</a></li>
713</ul>
714<ul class="subNavList">
715<li>Detail:&nbsp;</li>
716<li>Field&nbsp;|&nbsp;</li>
717<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
718<li><a href="#method_detail">Method</a></li>
719</ul>
720</div>
721<a name="skip-navbar_bottom">
722<!--   -->
723</a></div>
724<!-- ======== END OF BOTTOM NAVBAR ======= -->
725<p class="legalCopy"><small>Copyright &#169; 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
726</body>
727</html>
728