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