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