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 Sun Jul 14 20:03:32 PDT 2013 --> 6<title>DoubleNode (Jackson JSON Processor)</title> 7<meta name="date" content="2013-07-14"> 8<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> 9</head> 10<body> 11<script type="text/javascript"><!-- 12 if (location.href.indexOf('is-external=true') == -1) { 13 parent.document.title="DoubleNode (Jackson JSON Processor)"; 14 } 15//--> 16</script> 17<noscript> 18<div>JavaScript is disabled on your browser.</div> 19</noscript> 20<!-- ========= START OF TOP NAVBAR ======= --> 21<div class="topNav"><a name="navbar_top"> 22<!-- --> 23</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 24<!-- --> 25</a> 26<ul class="navList" title="Navigation"> 27<li><a href="../../../../overview-summary.html">Overview</a></li> 28<li><a href="package-summary.html">Package</a></li> 29<li class="navBarCell1Rev">Class</li> 30<li><a href="class-use/DoubleNode.html">Use</a></li> 31<li><a href="package-tree.html">Tree</a></li> 32<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 33<li><a href="../../../../index-all.html">Index</a></li> 34<li><a href="../../../../help-doc.html">Help</a></li> 35</ul> 36</div> 37<div class="subNav"> 38<ul class="navList"> 39<li><a href="../../../../org/codehaus/jackson/node/DecimalNode.html" title="class in org.codehaus.jackson.node"><span class="strong">Prev Class</span></a></li> 40<li><a href="../../../../org/codehaus/jackson/node/IntNode.html" title="class in org.codehaus.jackson.node"><span class="strong">Next Class</span></a></li> 41</ul> 42<ul class="navList"> 43<li><a href="../../../../index.html?org/codehaus/jackson/node/DoubleNode.html" target="_top">Frames</a></li> 44<li><a href="DoubleNode.html" target="_top">No Frames</a></li> 45</ul> 46<ul class="navList" id="allclasses_navbar_top"> 47<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 48</ul> 49<div> 50<script type="text/javascript"><!-- 51 allClassesLink = document.getElementById("allclasses_navbar_top"); 52 if(window==top) { 53 allClassesLink.style.display = "block"; 54 } 55 else { 56 allClassesLink.style.display = "none"; 57 } 58 //--> 59</script> 60</div> 61<div> 62<ul class="subNavList"> 63<li>Summary: </li> 64<li>Nested | </li> 65<li><a href="#field_summary">Field</a> | </li> 66<li><a href="#constructor_summary">Constr</a> | </li> 67<li><a href="#method_summary">Method</a></li> 68</ul> 69<ul class="subNavList"> 70<li>Detail: </li> 71<li><a href="#field_detail">Field</a> | </li> 72<li><a href="#constructor_detail">Constr</a> | </li> 73<li><a href="#method_detail">Method</a></li> 74</ul> 75</div> 76<a name="skip-navbar_top"> 77<!-- --> 78</a></div> 79<!-- ========= END OF TOP NAVBAR ========= --> 80<!-- ======== START OF CLASS DATA ======== --> 81<div class="header"> 82<div class="subTitle">org.codehaus.jackson.node</div> 83<h2 title="Class DoubleNode" class="title">Class DoubleNode</h2> 84</div> 85<div class="contentContainer"> 86<ul class="inheritance"> 87<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> 88<li> 89<ul class="inheritance"> 90<li><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">org.codehaus.jackson.JsonNode</a></li> 91<li> 92<ul class="inheritance"> 93<li><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html" title="class in org.codehaus.jackson.node">org.codehaus.jackson.node.BaseJsonNode</a></li> 94<li> 95<ul class="inheritance"> 96<li><a href="../../../../org/codehaus/jackson/node/ValueNode.html" title="class in org.codehaus.jackson.node">org.codehaus.jackson.node.ValueNode</a></li> 97<li> 98<ul class="inheritance"> 99<li><a href="../../../../org/codehaus/jackson/node/NumericNode.html" title="class in org.codehaus.jackson.node">org.codehaus.jackson.node.NumericNode</a></li> 100<li> 101<ul class="inheritance"> 102<li>org.codehaus.jackson.node.DoubleNode</li> 103</ul> 104</li> 105</ul> 106</li> 107</ul> 108</li> 109</ul> 110</li> 111</ul> 112</li> 113</ul> 114<div class="description"> 115<ul class="blockList"> 116<li class="blockList"> 117<dl> 118<dt>All Implemented Interfaces:</dt> 119<dd><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="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a>>, <a href="../../../../org/codehaus/jackson/map/JsonSerializable.html" title="interface in org.codehaus.jackson.map">JsonSerializable</a>, <a href="../../../../org/codehaus/jackson/map/JsonSerializableWithType.html" title="interface in org.codehaus.jackson.map">JsonSerializableWithType</a></dd> 120</dl> 121<hr> 122<br> 123<pre>public final class <span class="strong">DoubleNode</span> 124extends <a href="../../../../org/codehaus/jackson/node/NumericNode.html" title="class in org.codehaus.jackson.node">NumericNode</a></pre> 125<div class="block">Numeric node that contains 64-bit ("double precision") 126 floating point values simple 32-bit integer values.</div> 127</li> 128</ul> 129</div> 130<div class="summary"> 131<ul class="blockList"> 132<li class="blockList"> 133<!-- =========== FIELD SUMMARY =========== --> 134<ul class="blockList"> 135<li class="blockList"><a name="field_summary"> 136<!-- --> 137</a> 138<h3>Field Summary</h3> 139<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 140<caption><span>Fields</span><span class="tabEnd"> </span></caption> 141<tr> 142<th class="colFirst" scope="col">Modifier and Type</th> 143<th class="colLast" scope="col">Field and Description</th> 144</tr> 145<tr class="altColor"> 146<td class="colFirst"><code>protected double</code></td> 147<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/DoubleNode.html#_value">_value</a></strong></code> </td> 148</tr> 149</table> 150<ul class="blockList"> 151<li class="blockList"><a name="fields_inherited_from_class_org.codehaus.jackson.JsonNode"> 152<!-- --> 153</a> 154<h3>Fields inherited from class org.codehaus.jackson.<a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></h3> 155<code><a href="../../../../org/codehaus/jackson/JsonNode.html#NO_NODES">NO_NODES</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#NO_STRINGS">NO_STRINGS</a></code></li> 156</ul> 157</li> 158</ul> 159<!-- ======== CONSTRUCTOR SUMMARY ======== --> 160<ul class="blockList"> 161<li class="blockList"><a name="constructor_summary"> 162<!-- --> 163</a> 164<h3>Constructor Summary</h3> 165<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 166<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 167<tr> 168<th class="colOne" scope="col">Constructor and Description</th> 169</tr> 170<tr class="altColor"> 171<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/node/DoubleNode.html#DoubleNode(double)">DoubleNode</a></strong>(double v)</code> </td> 172</tr> 173</table> 174</li> 175</ul> 176<!-- ========== METHOD SUMMARY =========== --> 177<ul class="blockList"> 178<li class="blockList"><a name="method_summary"> 179<!-- --> 180</a> 181<h3>Method Summary</h3> 182<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 183<caption><span>Methods</span><span class="tabEnd"> </span></caption> 184<tr> 185<th class="colFirst" scope="col">Modifier and Type</th> 186<th class="colLast" scope="col">Method and Description</th> 187</tr> 188<tr class="altColor"> 189<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> 190<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/DoubleNode.html#asText()">asText</a></strong>()</code> 191<div class="block">Method that will return valid String representation of 192 the container value, if the node is a value node 193 (method <a href="../../../../org/codehaus/jackson/JsonNode.html#isValueNode()"><code>JsonNode.isValueNode()</code></a> returns true), otherwise 194 empty String.</div> 195</td> 196</tr> 197<tr class="rowColor"> 198<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson">JsonToken</a></code></td> 199<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/DoubleNode.html#asToken()">asToken</a></strong>()</code> 200<div class="block">Method that can be used for efficient type detection 201 when using stream abstraction for traversing nodes.</div> 202</td> 203</tr> 204<tr class="altColor"> 205<td class="colFirst"><code>boolean</code></td> 206<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/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> 207<div class="block">Equality for node objects is defined as full (deep) value 208 equality.</div> 209</td> 210</tr> 211<tr class="rowColor"> 212<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> 213<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/DoubleNode.html#getBigIntegerValue()">getBigIntegerValue</a></strong>()</code> </td> 214</tr> 215<tr class="altColor"> 216<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> 217<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/DoubleNode.html#getDecimalValue()">getDecimalValue</a></strong>()</code> </td> 218</tr> 219<tr class="rowColor"> 220<td class="colFirst"><code>double</code></td> 221<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/DoubleNode.html#getDoubleValue()">getDoubleValue</a></strong>()</code> </td> 222</tr> 223<tr class="altColor"> 224<td class="colFirst"><code>int</code></td> 225<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/DoubleNode.html#getIntValue()">getIntValue</a></strong>()</code> 226<div class="block">Returns integer value for this node, <b>if and only if</b> 227 this node is numeric (<a href="../../../../org/codehaus/jackson/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true).</div> 228</td> 229</tr> 230<tr class="rowColor"> 231<td class="colFirst"><code>long</code></td> 232<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/DoubleNode.html#getLongValue()">getLongValue</a></strong>()</code> </td> 233</tr> 234<tr class="altColor"> 235<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonParser.NumberType.html" title="enum in org.codehaus.jackson">JsonParser.NumberType</a></code></td> 236<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/DoubleNode.html#getNumberType()">getNumberType</a></strong>()</code> 237<div class="block">If this node is a numeric type (as per <a href="../../../../org/codehaus/jackson/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a>), 238 returns native type that node uses to store the numeric 239 value.</div> 240</td> 241</tr> 242<tr class="rowColor"> 243<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> 244<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/DoubleNode.html#getNumberValue()">getNumberValue</a></strong>()</code> 245<div class="block">Returns numeric value for this node, <b>if and only if</b> 246 this node is numeric (<a href="../../../../org/codehaus/jackson/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true); otherwise 247 returns null</div> 248</td> 249</tr> 250<tr class="altColor"> 251<td class="colFirst"><code>int</code></td> 252<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/DoubleNode.html#hashCode()">hashCode</a></strong>()</code> </td> 253</tr> 254<tr class="rowColor"> 255<td class="colFirst"><code>boolean</code></td> 256<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/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="../../../../org/codehaus/jackson/node/DoubleNode.html#isFloatingPointNumber()">isFloatingPointNumber</a></strong>()</code> </td> 261</tr> 262<tr class="rowColor"> 263<td class="colFirst"><code>void</code></td> 264<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/DoubleNode.html#serialize(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider)">serialize</a></strong>(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a> jg, 265 <a href="../../../../org/codehaus/jackson/map/SerializerProvider.html" title="class in org.codehaus.jackson.map">SerializerProvider</a> provider)</code> 266<div class="block">Method called to serialize node instances using given generator.</div> 267</td> 268</tr> 269<tr class="altColor"> 270<td class="colFirst"><code>static <a href="../../../../org/codehaus/jackson/node/DoubleNode.html" title="class in org.codehaus.jackson.node">DoubleNode</a></code></td> 271<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/DoubleNode.html#valueOf(double)">valueOf</a></strong>(double v)</code> </td> 272</tr> 273</table> 274<ul class="blockList"> 275<li class="blockList"><a name="methods_inherited_from_class_org.codehaus.jackson.node.NumericNode"> 276<!-- --> 277</a> 278<h3>Methods inherited from class org.codehaus.jackson.node.<a href="../../../../org/codehaus/jackson/node/NumericNode.html" title="class in org.codehaus.jackson.node">NumericNode</a></h3> 279<code><a href="../../../../org/codehaus/jackson/node/NumericNode.html#asDouble()">asDouble</a>, <a href="../../../../org/codehaus/jackson/node/NumericNode.html#asDouble(double)">asDouble</a>, <a href="../../../../org/codehaus/jackson/node/NumericNode.html#asInt()">asInt</a>, <a href="../../../../org/codehaus/jackson/node/NumericNode.html#asInt(int)">asInt</a>, <a href="../../../../org/codehaus/jackson/node/NumericNode.html#asLong()">asLong</a>, <a href="../../../../org/codehaus/jackson/node/NumericNode.html#asLong(long)">asLong</a>, <a href="../../../../org/codehaus/jackson/node/NumericNode.html#isNumber()">isNumber</a></code></li> 280</ul> 281<ul class="blockList"> 282<li class="blockList"><a name="methods_inherited_from_class_org.codehaus.jackson.node.ValueNode"> 283<!-- --> 284</a> 285<h3>Methods inherited from class org.codehaus.jackson.node.<a href="../../../../org/codehaus/jackson/node/ValueNode.html" title="class in org.codehaus.jackson.node">ValueNode</a></h3> 286<code><a href="../../../../org/codehaus/jackson/node/ValueNode.html#isValueNode()">isValueNode</a>, <a href="../../../../org/codehaus/jackson/node/ValueNode.html#path(int)">path</a>, <a href="../../../../org/codehaus/jackson/node/ValueNode.html#path(java.lang.String)">path</a>, <a href="../../../../org/codehaus/jackson/node/ValueNode.html#serializeWithType(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider, org.codehaus.jackson.map.TypeSerializer)">serializeWithType</a>, <a href="../../../../org/codehaus/jackson/node/ValueNode.html#toString()">toString</a></code></li> 287</ul> 288<ul class="blockList"> 289<li class="blockList"><a name="methods_inherited_from_class_org.codehaus.jackson.node.BaseJsonNode"> 290<!-- --> 291</a> 292<h3>Methods inherited from class org.codehaus.jackson.node.<a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html" title="class in org.codehaus.jackson.node">BaseJsonNode</a></h3> 293<code><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findParent(java.lang.String)">findParent</a>, <a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findParents(java.lang.String, java.util.List)">findParents</a>, <a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findPath(java.lang.String)">findPath</a>, <a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findValue(java.lang.String)">findValue</a>, <a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findValues(java.lang.String, java.util.List)">findValues</a>, <a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</a>, <a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#traverse()">traverse</a></code></li> 294</ul> 295<ul class="blockList"> 296<li class="blockList"><a name="methods_inherited_from_class_org.codehaus.jackson.JsonNode"> 297<!-- --> 298</a> 299<h3>Methods inherited from class org.codehaus.jackson.<a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></h3> 300<code><a href="../../../../org/codehaus/jackson/JsonNode.html#asBoolean()">asBoolean</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#asBoolean(boolean)">asBoolean</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#findParents(java.lang.String)">findParents</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#findValues(java.lang.String)">findValues</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#findValuesAsText(java.lang.String)">findValuesAsText</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#get(int)">get</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#get(java.lang.String)">get</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getBinaryValue()">getBinaryValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getBooleanValue()">getBooleanValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getElements()">getElements</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getFieldNames()">getFieldNames</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getFields()">getFields</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getPath(int)">getPath</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getPath(java.lang.String)">getPath</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getTextValue()">getTextValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsBoolean()">getValueAsBoolean</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsBoolean(boolean)">getValueAsBoolean</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsDouble()">getValueAsDouble</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsDouble(double)">getValueAsDouble</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsInt()">getValueAsInt</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsInt(int)">getValueAsInt</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsLong()">getValueAsLong</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsLong(long)">getValueAsLong</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsText()">getValueAsText</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#has(int)">has</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#has(java.lang.String)">has</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isArray()">isArray</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isBigDecimal()">isBigDecimal</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isBigInteger()">isBigInteger</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isBinary()">isBinary</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isBoolean()">isBoolean</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isContainerNode()">isContainerNode</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isInt()">isInt</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isIntegralNumber()">isIntegralNumber</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isLong()">isLong</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isMissingNode()">isMissingNode</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isNull()">isNull</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isObject()">isObject</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isPojo()">isPojo</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isTextual()">isTextual</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#iterator()">iterator</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#size()">size</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#with(java.lang.String)">with</a></code></li> 301</ul> 302<ul class="blockList"> 303<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 304<!-- --> 305</a> 306<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> 307<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> 308</ul> 309</li> 310</ul> 311</li> 312</ul> 313</div> 314<div class="details"> 315<ul class="blockList"> 316<li class="blockList"> 317<!-- ============ FIELD DETAIL =========== --> 318<ul class="blockList"> 319<li class="blockList"><a name="field_detail"> 320<!-- --> 321</a> 322<h3>Field Detail</h3> 323<a name="_value"> 324<!-- --> 325</a> 326<ul class="blockListLast"> 327<li class="blockList"> 328<h4>_value</h4> 329<pre>protected final double _value</pre> 330</li> 331</ul> 332</li> 333</ul> 334<!-- ========= CONSTRUCTOR DETAIL ======== --> 335<ul class="blockList"> 336<li class="blockList"><a name="constructor_detail"> 337<!-- --> 338</a> 339<h3>Constructor Detail</h3> 340<a name="DoubleNode(double)"> 341<!-- --> 342</a> 343<ul class="blockListLast"> 344<li class="blockList"> 345<h4>DoubleNode</h4> 346<pre>public DoubleNode(double v)</pre> 347</li> 348</ul> 349</li> 350</ul> 351<!-- ============ METHOD DETAIL ========== --> 352<ul class="blockList"> 353<li class="blockList"><a name="method_detail"> 354<!-- --> 355</a> 356<h3>Method Detail</h3> 357<a name="valueOf(double)"> 358<!-- --> 359</a> 360<ul class="blockList"> 361<li class="blockList"> 362<h4>valueOf</h4> 363<pre>public static <a href="../../../../org/codehaus/jackson/node/DoubleNode.html" title="class in org.codehaus.jackson.node">DoubleNode</a> valueOf(double v)</pre> 364</li> 365</ul> 366<a name="asToken()"> 367<!-- --> 368</a> 369<ul class="blockList"> 370<li class="blockList"> 371<h4>asToken</h4> 372<pre>public <a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson">JsonToken</a> asToken()</pre> 373<div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#asToken()">BaseJsonNode</a></code></strong></div> 374<div class="block">Method that can be used for efficient type detection 375 when using stream abstraction for traversing nodes. 376 Will return the first <a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson"><code>JsonToken</code></a> that equivalent 377 stream event would produce (for most nodes there is just 378 one token but for structured/container types multiple)</div> 379<dl> 380<dt><strong>Specified by:</strong></dt> 381<dd><code><a href="../../../../org/codehaus/jackson/node/ValueNode.html#asToken()">asToken</a></code> in class <code><a href="../../../../org/codehaus/jackson/node/ValueNode.html" title="class in org.codehaus.jackson.node">ValueNode</a></code></dd> 382</dl> 383</li> 384</ul> 385<a name="getNumberType()"> 386<!-- --> 387</a> 388<ul class="blockList"> 389<li class="blockList"> 390<h4>getNumberType</h4> 391<pre>public <a href="../../../../org/codehaus/jackson/JsonParser.NumberType.html" title="enum in org.codehaus.jackson">JsonParser.NumberType</a> getNumberType()</pre> 392<div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonNode.html#getNumberType()">JsonNode</a></code></strong></div> 393<div class="block">If this node is a numeric type (as per <a href="../../../../org/codehaus/jackson/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a>), 394 returns native type that node uses to store the numeric 395 value.</div> 396<dl> 397<dt><strong>Specified by:</strong></dt> 398<dd><code><a href="../../../../org/codehaus/jackson/node/NumericNode.html#getNumberType()">getNumberType</a></code> in class <code><a href="../../../../org/codehaus/jackson/node/NumericNode.html" title="class in org.codehaus.jackson.node">NumericNode</a></code></dd> 399</dl> 400</li> 401</ul> 402<a name="isFloatingPointNumber()"> 403<!-- --> 404</a> 405<ul class="blockList"> 406<li class="blockList"> 407<h4>isFloatingPointNumber</h4> 408<pre>public boolean isFloatingPointNumber()</pre> 409<dl> 410<dt><strong>Overrides:</strong></dt> 411<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#isFloatingPointNumber()">isFloatingPointNumber</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd> 412<dt><span class="strong">Returns:</span></dt><dd>True if this node represents a non-integral 413 numeric Json value</dd></dl> 414</li> 415</ul> 416<a name="isDouble()"> 417<!-- --> 418</a> 419<ul class="blockList"> 420<li class="blockList"> 421<h4>isDouble</h4> 422<pre>public boolean isDouble()</pre> 423<dl> 424<dt><strong>Overrides:</strong></dt> 425<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#isDouble()">isDouble</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd> 426</dl> 427</li> 428</ul> 429<a name="getNumberValue()"> 430<!-- --> 431</a> 432<ul class="blockList"> 433<li class="blockList"> 434<h4>getNumberValue</h4> 435<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> getNumberValue()</pre> 436<div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonNode.html#getNumberValue()">JsonNode</a></code></strong></div> 437<div class="block">Returns numeric value for this node, <b>if and only if</b> 438 this node is numeric (<a href="../../../../org/codehaus/jackson/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true); otherwise 439 returns null</div> 440<dl> 441<dt><strong>Specified by:</strong></dt> 442<dd><code><a href="../../../../org/codehaus/jackson/node/NumericNode.html#getNumberValue()">getNumberValue</a></code> in class <code><a href="../../../../org/codehaus/jackson/node/NumericNode.html" title="class in org.codehaus.jackson.node">NumericNode</a></code></dd> 443<dt><span class="strong">Returns:</span></dt><dd>Number value this node contains, if any (null for non-number 444 nodes).</dd></dl> 445</li> 446</ul> 447<a name="getIntValue()"> 448<!-- --> 449</a> 450<ul class="blockList"> 451<li class="blockList"> 452<h4>getIntValue</h4> 453<pre>public int getIntValue()</pre> 454<div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonNode.html#getIntValue()">JsonNode</a></code></strong></div> 455<div class="block">Returns integer value for this node, <b>if and only if</b> 456 this node is numeric (<a href="../../../../org/codehaus/jackson/JsonNode.html#isNumber()"><code>JsonNode.isNumber()</code></a> returns true). For other 457 types returns 0. 458 For floating-point numbers, value is truncated using default 459 Java coercion, similar to how cast from double to int operates.</div> 460<dl> 461<dt><strong>Specified by:</strong></dt> 462<dd><code><a href="../../../../org/codehaus/jackson/node/NumericNode.html#getIntValue()">getIntValue</a></code> in class <code><a href="../../../../org/codehaus/jackson/node/NumericNode.html" title="class in org.codehaus.jackson.node">NumericNode</a></code></dd> 463<dt><span class="strong">Returns:</span></dt><dd>Integer value this node contains, if any; 0 for non-number 464 nodes.</dd></dl> 465</li> 466</ul> 467<a name="getLongValue()"> 468<!-- --> 469</a> 470<ul class="blockList"> 471<li class="blockList"> 472<h4>getLongValue</h4> 473<pre>public long getLongValue()</pre> 474<dl> 475<dt><strong>Specified by:</strong></dt> 476<dd><code><a href="../../../../org/codehaus/jackson/node/NumericNode.html#getLongValue()">getLongValue</a></code> in class <code><a href="../../../../org/codehaus/jackson/node/NumericNode.html" title="class in org.codehaus.jackson.node">NumericNode</a></code></dd> 477</dl> 478</li> 479</ul> 480<a name="getDoubleValue()"> 481<!-- --> 482</a> 483<ul class="blockList"> 484<li class="blockList"> 485<h4>getDoubleValue</h4> 486<pre>public double getDoubleValue()</pre> 487<dl> 488<dt><strong>Specified by:</strong></dt> 489<dd><code><a href="../../../../org/codehaus/jackson/node/NumericNode.html#getDoubleValue()">getDoubleValue</a></code> in class <code><a href="../../../../org/codehaus/jackson/node/NumericNode.html" title="class in org.codehaus.jackson.node">NumericNode</a></code></dd> 490</dl> 491</li> 492</ul> 493<a name="getDecimalValue()"> 494<!-- --> 495</a> 496<ul class="blockList"> 497<li class="blockList"> 498<h4>getDecimalValue</h4> 499<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> getDecimalValue()</pre> 500<dl> 501<dt><strong>Specified by:</strong></dt> 502<dd><code><a href="../../../../org/codehaus/jackson/node/NumericNode.html#getDecimalValue()">getDecimalValue</a></code> in class <code><a href="../../../../org/codehaus/jackson/node/NumericNode.html" title="class in org.codehaus.jackson.node">NumericNode</a></code></dd> 503</dl> 504</li> 505</ul> 506<a name="getBigIntegerValue()"> 507<!-- --> 508</a> 509<ul class="blockList"> 510<li class="blockList"> 511<h4>getBigIntegerValue</h4> 512<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> getBigIntegerValue()</pre> 513<dl> 514<dt><strong>Specified by:</strong></dt> 515<dd><code><a href="../../../../org/codehaus/jackson/node/NumericNode.html#getBigIntegerValue()">getBigIntegerValue</a></code> in class <code><a href="../../../../org/codehaus/jackson/node/NumericNode.html" title="class in org.codehaus.jackson.node">NumericNode</a></code></dd> 516</dl> 517</li> 518</ul> 519<a name="asText()"> 520<!-- --> 521</a> 522<ul class="blockList"> 523<li class="blockList"> 524<h4>asText</h4> 525<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> 526<div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonNode.html#asText()">JsonNode</a></code></strong></div> 527<div class="block">Method that will return valid String representation of 528 the container value, if the node is a value node 529 (method <a href="../../../../org/codehaus/jackson/JsonNode.html#isValueNode()"><code>JsonNode.isValueNode()</code></a> returns true), otherwise 530 empty String.</div> 531<dl> 532<dt><strong>Specified by:</strong></dt> 533<dd><code><a href="../../../../org/codehaus/jackson/node/NumericNode.html#asText()">asText</a></code> in class <code><a href="../../../../org/codehaus/jackson/node/NumericNode.html" title="class in org.codehaus.jackson.node">NumericNode</a></code></dd> 534</dl> 535</li> 536</ul> 537<a name="serialize(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider)"> 538<!-- --> 539</a> 540<ul class="blockList"> 541<li class="blockList"> 542<h4>serialize</h4> 543<pre>public final void serialize(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a> jg, 544 <a href="../../../../org/codehaus/jackson/map/SerializerProvider.html" title="class in org.codehaus.jackson.map">SerializerProvider</a> provider) 545 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>, 546 <a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></pre> 547<div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#serialize(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider)">BaseJsonNode</a></code></strong></div> 548<div class="block">Method called to serialize node instances using given generator.</div> 549<dl> 550<dt><strong>Specified by:</strong></dt> 551<dd><code><a href="../../../../org/codehaus/jackson/map/JsonSerializable.html#serialize(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider)">serialize</a></code> in interface <code><a href="../../../../org/codehaus/jackson/map/JsonSerializable.html" title="interface in org.codehaus.jackson.map">JsonSerializable</a></code></dd> 552<dt><strong>Specified by:</strong></dt> 553<dd><code><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#serialize(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider)">serialize</a></code> in class <code><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html" title="class in org.codehaus.jackson.node">BaseJsonNode</a></code></dd> 554<dt><span class="strong">Throws:</span></dt> 555<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> 556<dd><code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></code></dd></dl> 557</li> 558</ul> 559<a name="equals(java.lang.Object)"> 560<!-- --> 561</a> 562<ul class="blockList"> 563<li class="blockList"> 564<h4>equals</h4> 565<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> 566<div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonNode.html#equals(java.lang.Object)">JsonNode</a></code></strong></div> 567<div class="block">Equality for node objects is defined as full (deep) value 568 equality. This means that it is possible to compare complete 569 JSON trees for equality by comparing equality of root nodes. 570<p> 571 Note: marked as abstract to ensure all implementation 572 classes define it properly and not rely on definition 573 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> 574<dl> 575<dt><strong>Specified by:</strong></dt> 576<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#equals(java.lang.Object)">equals</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd> 577</dl> 578</li> 579</ul> 580<a name="hashCode()"> 581<!-- --> 582</a> 583<ul class="blockListLast"> 584<li class="blockList"> 585<h4>hashCode</h4> 586<pre>public int hashCode()</pre> 587<dl> 588<dt><strong>Overrides:</strong></dt> 589<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> 590</dl> 591</li> 592</ul> 593</li> 594</ul> 595</li> 596</ul> 597</div> 598</div> 599<!-- ========= END OF CLASS DATA ========= --> 600<!-- ======= START OF BOTTOM NAVBAR ====== --> 601<div class="bottomNav"><a name="navbar_bottom"> 602<!-- --> 603</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 604<!-- --> 605</a> 606<ul class="navList" title="Navigation"> 607<li><a href="../../../../overview-summary.html">Overview</a></li> 608<li><a href="package-summary.html">Package</a></li> 609<li class="navBarCell1Rev">Class</li> 610<li><a href="class-use/DoubleNode.html">Use</a></li> 611<li><a href="package-tree.html">Tree</a></li> 612<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 613<li><a href="../../../../index-all.html">Index</a></li> 614<li><a href="../../../../help-doc.html">Help</a></li> 615</ul> 616</div> 617<div class="subNav"> 618<ul class="navList"> 619<li><a href="../../../../org/codehaus/jackson/node/DecimalNode.html" title="class in org.codehaus.jackson.node"><span class="strong">Prev Class</span></a></li> 620<li><a href="../../../../org/codehaus/jackson/node/IntNode.html" title="class in org.codehaus.jackson.node"><span class="strong">Next Class</span></a></li> 621</ul> 622<ul class="navList"> 623<li><a href="../../../../index.html?org/codehaus/jackson/node/DoubleNode.html" target="_top">Frames</a></li> 624<li><a href="DoubleNode.html" target="_top">No Frames</a></li> 625</ul> 626<ul class="navList" id="allclasses_navbar_bottom"> 627<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 628</ul> 629<div> 630<script type="text/javascript"><!-- 631 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 632 if(window==top) { 633 allClassesLink.style.display = "block"; 634 } 635 else { 636 allClassesLink.style.display = "none"; 637 } 638 //--> 639</script> 640</div> 641<div> 642<ul class="subNavList"> 643<li>Summary: </li> 644<li>Nested | </li> 645<li><a href="#field_summary">Field</a> | </li> 646<li><a href="#constructor_summary">Constr</a> | </li> 647<li><a href="#method_summary">Method</a></li> 648</ul> 649<ul class="subNavList"> 650<li>Detail: </li> 651<li><a href="#field_detail">Field</a> | </li> 652<li><a href="#constructor_detail">Constr</a> | </li> 653<li><a href="#method_detail">Method</a></li> 654</ul> 655</div> 656<a name="skip-navbar_bottom"> 657<!-- --> 658</a></div> 659<!-- ======== END OF BOTTOM NAVBAR ======= --> 660</body> 661</html> 662