1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_10-ea) on Mon Apr 22 19:50:40 PDT 2013 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>DoubleNode (jackson-databind 2.2.0 API)</title> 8<meta name="date" content="2013-04-22"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="DoubleNode (jackson-databind 2.2.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/DoubleNode.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../../index-all.html">Index</a></li> 35<li><a href="../../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li><a href="../../../../../com/fasterxml/jackson/databind/node/DecimalNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/node/FloatNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/DoubleNode.html" target="_top">Frames</a></li> 45<li><a href="DoubleNode.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li>Nested | </li> 66<li><a href="#field_summary">Field</a> | </li> 67<li><a href="#constructor_summary">Constr</a> | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li><a href="#field_detail">Field</a> | </li> 73<li><a href="#constructor_detail">Constr</a> | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind.node</div> 84<h2 title="Class DoubleNode" class="title">Class DoubleNode</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 89<li> 90<ul class="inheritance"> 91<li><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</a></li> 92<li> 93<ul class="inheritance"> 94<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> 95<li> 96<ul class="inheritance"> 97<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> 98<li> 99<ul class="inheritance"> 100<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> 101<li> 102<ul class="inheritance"> 103<li>com.fasterxml.jackson.databind.node.DoubleNode</li> 104</ul> 105</li> 106</ul> 107</li> 108</ul> 109</li> 110</ul> 111</li> 112</ul> 113</li> 114</ul> 115<div class="description"> 116<ul class="blockList"> 117<li class="blockList"> 118<dl> 119<dt>All Implemented Interfaces:</dt> 120<dd><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/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/6/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> 121</dl> 122<hr> 123<br> 124<pre>public final class <span class="strong">DoubleNode</span> 125extends <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</a></pre> 126<div class="block">Numeric node that contains 64-bit ("double precision") 127 floating point values simple 32-bit integer values.</div> 128</li> 129</ul> 130</div> 131<div class="summary"> 132<ul class="blockList"> 133<li class="blockList"> 134<!-- =========== FIELD SUMMARY =========== --> 135<ul class="blockList"> 136<li class="blockList"><a name="field_summary"> 137<!-- --> 138</a> 139<h3>Field Summary</h3> 140<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 141<caption><span>Fields</span><span class="tabEnd"> </span></caption> 142<tr> 143<th class="colFirst" scope="col">Modifier and Type</th> 144<th class="colLast" scope="col">Field and Description</th> 145</tr> 146<tr class="altColor"> 147<td class="colFirst"><code>protected double</code></td> 148<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#_value">_value</a></strong></code> </td> 149</tr> 150</table> 151</li> 152</ul> 153<!-- ======== CONSTRUCTOR SUMMARY ======== --> 154<ul class="blockList"> 155<li class="blockList"><a name="constructor_summary"> 156<!-- --> 157</a> 158<h3>Constructor Summary</h3> 159<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 160<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 161<tr> 162<th class="colOne" scope="col">Constructor and Description</th> 163</tr> 164<tr class="altColor"> 165<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#DoubleNode(double)">DoubleNode</a></strong>(double v)</code> </td> 166</tr> 167</table> 168</li> 169</ul> 170<!-- ========== METHOD SUMMARY =========== --> 171<ul class="blockList"> 172<li class="blockList"><a name="method_summary"> 173<!-- --> 174</a> 175<h3>Method Summary</h3> 176<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 177<caption><span>Methods</span><span class="tabEnd"> </span></caption> 178<tr> 179<th class="colFirst" scope="col">Modifier and Type</th> 180<th class="colLast" scope="col">Method and Description</th> 181</tr> 182<tr class="altColor"> 183<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 184<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#asText()">asText</a></strong>()</code> 185<div class="block">Method that will return a valid String representation of 186 the container value, if the node is a value node 187 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><code>JsonNode.isValueNode()</code></a> returns true), 188 otherwise empty String.</div> 189</td> 190</tr> 191<tr class="rowColor"> 192<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a></code></td> 193<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#asToken()">asToken</a></strong>()</code> 194<div class="block">Method that can be used for efficient type detection 195 when using stream abstraction for traversing nodes.</div> 196</td> 197</tr> 198<tr class="altColor"> 199<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a></code></td> 200<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#bigIntegerValue()">bigIntegerValue</a></strong>()</code> </td> 201</tr> 202<tr class="rowColor"> 203<td class="colFirst"><code>boolean</code></td> 204<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#canConvertToInt()">canConvertToInt</a></strong>()</code> 205<div class="block">Method that can be used to check whether this node is a numeric 206 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits 207 within Java's 32-bit signed integer type, <code>int</code>.</div> 208</td> 209</tr> 210<tr class="altColor"> 211<td class="colFirst"><code>boolean</code></td> 212<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#canConvertToLong()">canConvertToLong</a></strong>()</code> 213<div class="block">Method that can be used to check whether this node is a numeric 214 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits 215 within Java's 64-bit signed integer type, <code>long</code>.</div> 216</td> 217</tr> 218<tr class="rowColor"> 219<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a></code></td> 220<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#decimalValue()">decimalValue</a></strong>()</code> </td> 221</tr> 222<tr class="altColor"> 223<td class="colFirst"><code>double</code></td> 224<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#doubleValue()">doubleValue</a></strong>()</code> 225<div class="block">Returns 64-bit floating point (double) value for this node, <b>if and only if</b> 226 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div> 227</td> 228</tr> 229<tr class="rowColor"> 230<td class="colFirst"><code>boolean</code></td> 231<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> 232<div class="block">Equality for node objects is defined as full (deep) value 233 equality.</div> 234</td> 235</tr> 236<tr class="altColor"> 237<td class="colFirst"><code>float</code></td> 238<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#floatValue()">floatValue</a></strong>()</code> 239<div class="block">Returns 32-bit floating value for this node, <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 class="rowColor"> 244<td class="colFirst"><code>int</code></td> 245<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#hashCode()">hashCode</a></strong>()</code> </td> 246</tr> 247<tr class="altColor"> 248<td class="colFirst"><code>int</code></td> 249<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#intValue()">intValue</a></strong>()</code> 250<div class="block">Returns integer value for this node, <b>if and only if</b> 251 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div> 252</td> 253</tr> 254<tr class="rowColor"> 255<td class="colFirst"><code>boolean</code></td> 256<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#isDouble()">isDouble</a></strong>()</code> </td> 257</tr> 258<tr class="altColor"> 259<td class="colFirst"><code>boolean</code></td> 260<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#isFloatingPointNumber()">isFloatingPointNumber</a></strong>()</code> </td> 261</tr> 262<tr class="rowColor"> 263<td class="colFirst"><code>long</code></td> 264<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#longValue()">longValue</a></strong>()</code> 265<div class="block">Returns 64-bit long value for this node, <b>if and only if</b> 266 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div> 267</td> 268</tr> 269<tr class="altColor"> 270<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonParser.NumberType.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.NumberType</a></code></td> 271<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#numberType()">numberType</a></strong>()</code> 272<div class="block">Returns code that identifies type of underlying numeric 273 value, if (and only if) node is a number node.</div> 274</td> 275</tr> 276<tr class="rowColor"> 277<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a></code></td> 278<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#numberValue()">numberValue</a></strong>()</code> 279<div class="block">Returns numeric value for this node, <b>if and only if</b> 280 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true); otherwise 281 returns null</div> 282</td> 283</tr> 284<tr class="altColor"> 285<td class="colFirst"><code>void</code></td> 286<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jg, 287 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider)</code> 288<div class="block">Method called to serialize node instances using given generator.</div> 289</td> 290</tr> 291<tr class="rowColor"> 292<td class="colFirst"><code>short</code></td> 293<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#shortValue()">shortValue</a></strong>()</code> 294<div class="block">Returns 16-bit short 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 class="altColor"> 299<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html" title="class in com.fasterxml.jackson.databind.node">DoubleNode</a></code></td> 300<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#valueOf(double)">valueOf</a></strong>(double v)</code> </td> 301</tr> 302</table> 303<ul class="blockList"> 304<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.NumericNode"> 305<!-- --> 306</a> 307<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> 308<code><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asDouble()">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asDouble(double)">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asInt()">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asInt(int)">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asLong()">asLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#asLong(long)">asLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html#getNodeType()">getNodeType</a></code></li> 309</ul> 310<ul class="blockList"> 311<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.ValueNode"> 312<!-- --> 313</a> 314<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> 315<code><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> 316</ul> 317<ul class="blockList"> 318<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode"> 319<!-- --> 320</a> 321<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> 322<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> 323</ul> 324<ul class="blockList"> 325<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"> 326<!-- --> 327</a> 328<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> 329<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean()">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean(boolean)">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#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#fieldNames()">fieldNames</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fields()">fields</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents(java.lang.String)">findParents</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues(java.lang.String)">findValues</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText(java.lang.String)">findValuesAsText</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isArray()">isArray</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigDecimal()">isBigDecimal</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigInteger()">isBigInteger</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary()">isBinary</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBoolean()">isBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode()">isContainerNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloat()">isFloat</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isInt()">isInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isIntegralNumber()">isIntegralNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isLong()">isLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()">isMissingNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNull()">isNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()">isNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isObject()">isObject</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isPojo()">isPojo</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isShort()">isShort</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual()">isTextual</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()">isValueNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#iterator()">iterator</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#size()">size</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue()">textValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#with(java.lang.String)">with</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray(java.lang.String)">withArray</a></code></li> 330</ul> 331<ul class="blockList"> 332<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 333<!-- --> 334</a> 335<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 336<code><a href="http://docs.oracle.com/javase/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> 337</ul> 338</li> 339</ul> 340</li> 341</ul> 342</div> 343<div class="details"> 344<ul class="blockList"> 345<li class="blockList"> 346<!-- ============ FIELD DETAIL =========== --> 347<ul class="blockList"> 348<li class="blockList"><a name="field_detail"> 349<!-- --> 350</a> 351<h3>Field Detail</h3> 352<a name="_value"> 353<!-- --> 354</a> 355<ul class="blockListLast"> 356<li class="blockList"> 357<h4>_value</h4> 358<pre>protected final double _value</pre> 359</li> 360</ul> 361</li> 362</ul> 363<!-- ========= CONSTRUCTOR DETAIL ======== --> 364<ul class="blockList"> 365<li class="blockList"><a name="constructor_detail"> 366<!-- --> 367</a> 368<h3>Constructor Detail</h3> 369<a name="DoubleNode(double)"> 370<!-- --> 371</a> 372<ul class="blockListLast"> 373<li class="blockList"> 374<h4>DoubleNode</h4> 375<pre>public DoubleNode(double v)</pre> 376</li> 377</ul> 378</li> 379</ul> 380<!-- ============ METHOD DETAIL ========== --> 381<ul class="blockList"> 382<li class="blockList"><a name="method_detail"> 383<!-- --> 384</a> 385<h3>Method Detail</h3> 386<a name="valueOf(double)"> 387<!-- --> 388</a> 389<ul class="blockList"> 390<li class="blockList"> 391<h4>valueOf</h4> 392<pre>public static <a href="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html" title="class in com.fasterxml.jackson.databind.node">DoubleNode</a> valueOf(double v)</pre> 393</li> 394</ul> 395<a name="asToken()"> 396<!-- --> 397</a> 398<ul class="blockList"> 399<li class="blockList"> 400<h4>asToken</h4> 401<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a> asToken()</pre> 402<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</a></code></strong></div> 403<div class="block">Method that can be used for efficient type detection 404 when using stream abstraction for traversing nodes. 405 Will return the first <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonToken</code></a> that equivalent 406 stream event would produce (for most nodes there is just 407 one token but for structured/container types multiple)</div> 408<dl> 409<dt><strong>Specified by:</strong></dt> 410<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/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.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> 411<dt><strong>Specified by:</strong></dt> 412<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> 413</dl> 414</li> 415</ul> 416<a name="numberType()"> 417<!-- --> 418</a> 419<ul class="blockList"> 420<li class="blockList"> 421<h4>numberType</h4> 422<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonParser.NumberType.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.NumberType</a> numberType()</pre> 423<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#numberType()">BaseJsonNode</a></code></strong></div> 424<div class="block">Returns code that identifies type of underlying numeric 425 value, if (and only if) node is a number node.</div> 426<dl> 427<dt><strong>Specified by:</strong></dt> 428<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/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.1.1/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> 429<dt><strong>Specified by:</strong></dt> 430<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> 431</dl> 432</li> 433</ul> 434<a name="isFloatingPointNumber()"> 435<!-- --> 436</a> 437<ul class="blockList"> 438<li class="blockList"> 439<h4>isFloatingPointNumber</h4> 440<pre>public boolean isFloatingPointNumber()</pre> 441<dl> 442<dt><strong>Overrides:</strong></dt> 443<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloatingPointNumber()">isFloatingPointNumber</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 444<dt><span class="strong">Returns:</span></dt><dd>True if this node represents a non-integral 445 numeric JSON value</dd></dl> 446</li> 447</ul> 448<a name="isDouble()"> 449<!-- --> 450</a> 451<ul class="blockList"> 452<li class="blockList"> 453<h4>isDouble</h4> 454<pre>public boolean isDouble()</pre> 455<dl> 456<dt><strong>Overrides:</strong></dt> 457<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isDouble()">isDouble</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 458</dl> 459</li> 460</ul> 461<a name="canConvertToInt()"> 462<!-- --> 463</a> 464<ul class="blockList"> 465<li class="blockList"> 466<h4>canConvertToInt</h4> 467<pre>public boolean canConvertToInt()</pre> 468<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()">JsonNode</a></code></strong></div> 469<div class="block">Method that can be used to check whether this node is a numeric 470 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits 471 within Java's 32-bit signed integer type, <code>int</code>. 472 Note that floating-point numbers are convertible if the integral 473 part fits without overflow (as per standard Java coercion rules)</div> 474<dl> 475<dt><strong>Specified by:</strong></dt> 476<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> 477</dl> 478</li> 479</ul> 480<a name="canConvertToLong()"> 481<!-- --> 482</a> 483<ul class="blockList"> 484<li class="blockList"> 485<h4>canConvertToLong</h4> 486<pre>public boolean canConvertToLong()</pre> 487<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToLong()">JsonNode</a></code></strong></div> 488<div class="block">Method that can be used to check whether this node is a numeric 489 node (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> would return true) AND its value fits 490 within Java's 64-bit signed integer type, <code>long</code>. 491 Note that floating-point numbers are convertible if the integral 492 part fits without overflow (as per standard Java coercion rules)</div> 493<dl> 494<dt><strong>Specified by:</strong></dt> 495<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> 496</dl> 497</li> 498</ul> 499<a name="numberValue()"> 500<!-- --> 501</a> 502<ul class="blockList"> 503<li class="blockList"> 504<h4>numberValue</h4> 505<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a> numberValue()</pre> 506<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue()">JsonNode</a></code></strong></div> 507<div class="block">Returns numeric value for this node, <b>if and only if</b> 508 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true); otherwise 509 returns null</div> 510<dl> 511<dt><strong>Specified by:</strong></dt> 512<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> 513<dt><span class="strong">Returns:</span></dt><dd>Number value this node contains, if any (null for non-number 514 nodes).</dd></dl> 515</li> 516</ul> 517<a name="shortValue()"> 518<!-- --> 519</a> 520<ul class="blockList"> 521<li class="blockList"> 522<h4>shortValue</h4> 523<pre>public short shortValue()</pre> 524<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#shortValue()">JsonNode</a></code></strong></div> 525<div class="block">Returns 16-bit short value for this node, <b>if and only if</b> 526 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other 527 types returns 0. 528 For floating-point numbers, value is truncated using default 529 Java coercion, similar to how cast from double to short operates.</div> 530<dl> 531<dt><strong>Overrides:</strong></dt> 532<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> 533<dt><span class="strong">Returns:</span></dt><dd>Short value this node contains, if any; 0 for non-number 534 nodes.</dd></dl> 535</li> 536</ul> 537<a name="intValue()"> 538<!-- --> 539</a> 540<ul class="blockList"> 541<li class="blockList"> 542<h4>intValue</h4> 543<pre>public int intValue()</pre> 544<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue()">JsonNode</a></code></strong></div> 545<div class="block">Returns integer value for this node, <b>if and only if</b> 546 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other 547 types returns 0. 548 For floating-point numbers, value is truncated using default 549 Java coercion, similar to how cast from double to int operates.</div> 550<dl> 551<dt><strong>Specified by:</strong></dt> 552<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> 553<dt><span class="strong">Returns:</span></dt><dd>Integer value this node contains, if any; 0 for non-number 554 nodes.</dd></dl> 555</li> 556</ul> 557<a name="longValue()"> 558<!-- --> 559</a> 560<ul class="blockList"> 561<li class="blockList"> 562<h4>longValue</h4> 563<pre>public long longValue()</pre> 564<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#longValue()">JsonNode</a></code></strong></div> 565<div class="block">Returns 64-bit long value for this node, <b>if and only if</b> 566 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other 567 types returns 0. 568 For floating-point numbers, value is truncated using default 569 Java coercion, similar to how cast from double to long operates.</div> 570<dl> 571<dt><strong>Specified by:</strong></dt> 572<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> 573<dt><span class="strong">Returns:</span></dt><dd>Long value this node contains, if any; 0 for non-number 574 nodes.</dd></dl> 575</li> 576</ul> 577<a name="floatValue()"> 578<!-- --> 579</a> 580<ul class="blockList"> 581<li class="blockList"> 582<h4>floatValue</h4> 583<pre>public float floatValue()</pre> 584<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#floatValue()">JsonNode</a></code></strong></div> 585<div class="block">Returns 32-bit floating value for this node, <b>if and only if</b> 586 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other 587 types returns 0.0. 588 For integer values, conversion is done using coercion; this means 589 that an overflow is possible for `long` values</div> 590<dl> 591<dt><strong>Overrides:</strong></dt> 592<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> 593<dt><span class="strong">Returns:</span></dt><dd>32-bit float value this node contains, if any; 0.0 for non-number nodes.</dd></dl> 594</li> 595</ul> 596<a name="doubleValue()"> 597<!-- --> 598</a> 599<ul class="blockList"> 600<li class="blockList"> 601<h4>doubleValue</h4> 602<pre>public double doubleValue()</pre> 603<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#doubleValue()">JsonNode</a></code></strong></div> 604<div class="block">Returns 64-bit floating point (double) value for this node, <b>if and only if</b> 605 this node is numeric (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other 606 types returns 0.0. 607 For integer values, conversion is done using coercion; this may result 608 in overflows with <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><code>BigInteger</code></a> values.</div> 609<dl> 610<dt><strong>Specified by:</strong></dt> 611<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> 612<dt><span class="strong">Returns:</span></dt><dd>64-bit double value this node contains, if any; 0.0 for non-number nodes.</dd></dl> 613</li> 614</ul> 615<a name="decimalValue()"> 616<!-- --> 617</a> 618<ul class="blockList"> 619<li class="blockList"> 620<h4>decimalValue</h4> 621<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a> decimalValue()</pre> 622<dl> 623<dt><strong>Specified by:</strong></dt> 624<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> 625</dl> 626</li> 627</ul> 628<a name="bigIntegerValue()"> 629<!-- --> 630</a> 631<ul class="blockList"> 632<li class="blockList"> 633<h4>bigIntegerValue</h4> 634<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a> bigIntegerValue()</pre> 635<dl> 636<dt><strong>Specified by:</strong></dt> 637<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> 638</dl> 639</li> 640</ul> 641<a name="asText()"> 642<!-- --> 643</a> 644<ul class="blockList"> 645<li class="blockList"> 646<h4>asText</h4> 647<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> asText()</pre> 648<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()">JsonNode</a></code></strong></div> 649<div class="block">Method that will return a valid String representation of 650 the container value, if the node is a value node 651 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><code>JsonNode.isValueNode()</code></a> returns true), 652 otherwise empty String.</div> 653<dl> 654<dt><strong>Specified by:</strong></dt> 655<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> 656</dl> 657</li> 658</ul> 659<a name="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)"> 660<!-- --> 661</a> 662<ul class="blockList"> 663<li class="blockList"> 664<h4>serialize</h4> 665<pre>public final void serialize(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jg, 666 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider) 667 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, 668 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre> 669<div class="block"><strong>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></strong></div> 670<div class="block">Method called to serialize node instances using given generator.</div> 671<dl> 672<dt><strong>Specified by:</strong></dt> 673<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> 674<dt><strong>Specified by:</strong></dt> 675<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> 676<dt><span class="strong">Throws:</span></dt> 677<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 678<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd></dl> 679</li> 680</ul> 681<a name="equals(java.lang.Object)"> 682<!-- --> 683</a> 684<ul class="blockList"> 685<li class="blockList"> 686<h4>equals</h4> 687<pre>public boolean equals(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> 688<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">JsonNode</a></code></strong></div> 689<div class="block">Equality for node objects is defined as full (deep) value 690 equality. This means that it is possible to compare complete 691 JSON trees for equality by comparing equality of root nodes. 692<p> 693 Note: marked as abstract to ensure all implementation 694 classes define it properly and not rely on definition 695 from <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div> 696<dl> 697<dt><strong>Specified by:</strong></dt> 698<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> 699</dl> 700</li> 701</ul> 702<a name="hashCode()"> 703<!-- --> 704</a> 705<ul class="blockListLast"> 706<li class="blockList"> 707<h4>hashCode</h4> 708<pre>public int hashCode()</pre> 709<dl> 710<dt><strong>Overrides:</strong></dt> 711<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> 712</dl> 713</li> 714</ul> 715</li> 716</ul> 717</li> 718</ul> 719</div> 720</div> 721<!-- ========= END OF CLASS DATA ========= --> 722<!-- ======= START OF BOTTOM NAVBAR ====== --> 723<div class="bottomNav"><a name="navbar_bottom"> 724<!-- --> 725</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 726<!-- --> 727</a> 728<ul class="navList" title="Navigation"> 729<li><a href="../../../../../overview-summary.html">Overview</a></li> 730<li><a href="package-summary.html">Package</a></li> 731<li class="navBarCell1Rev">Class</li> 732<li><a href="class-use/DoubleNode.html">Use</a></li> 733<li><a href="package-tree.html">Tree</a></li> 734<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 735<li><a href="../../../../../index-all.html">Index</a></li> 736<li><a href="../../../../../help-doc.html">Help</a></li> 737</ul> 738</div> 739<div class="subNav"> 740<ul class="navList"> 741<li><a href="../../../../../com/fasterxml/jackson/databind/node/DecimalNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Prev Class</span></a></li> 742<li><a href="../../../../../com/fasterxml/jackson/databind/node/FloatNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Next Class</span></a></li> 743</ul> 744<ul class="navList"> 745<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/DoubleNode.html" target="_top">Frames</a></li> 746<li><a href="DoubleNode.html" target="_top">No Frames</a></li> 747</ul> 748<ul class="navList" id="allclasses_navbar_bottom"> 749<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 750</ul> 751<div> 752<script type="text/javascript"><!-- 753 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 754 if(window==top) { 755 allClassesLink.style.display = "block"; 756 } 757 else { 758 allClassesLink.style.display = "none"; 759 } 760 //--> 761</script> 762</div> 763<div> 764<ul class="subNavList"> 765<li>Summary: </li> 766<li>Nested | </li> 767<li><a href="#field_summary">Field</a> | </li> 768<li><a href="#constructor_summary">Constr</a> | </li> 769<li><a href="#method_summary">Method</a></li> 770</ul> 771<ul class="subNavList"> 772<li>Detail: </li> 773<li><a href="#field_detail">Field</a> | </li> 774<li><a href="#constructor_detail">Constr</a> | </li> 775<li><a href="#method_detail">Method</a></li> 776</ul> 777</div> 778<a name="skip-navbar_bottom"> 779<!-- --> 780</a></div> 781<!-- ======== END OF BOTTOM NAVBAR ======= --> 782<p class="legalCopy"><small>Copyright © 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 783</body> 784</html> 785