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