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