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