1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.6.0_29) on Mon Mar 26 19:07:17 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8DoubleNode (jackson-databind 2.0.0 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2012-03-26"> 12 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> 14 15<SCRIPT type="text/javascript"> 16function windowTitle() 17{ 18 if (location.href.indexOf('is-external=true') == -1) { 19 parent.document.title="DoubleNode (jackson-databind 2.0.0 API)"; 20 } 21} 22</SCRIPT> 23<NOSCRIPT> 24</NOSCRIPT> 25 26</HEAD> 27 28<BODY BGCOLOR="white" onload="windowTitle();"> 29<HR> 30 31 32<!-- ========= START OF TOP NAVBAR ======= --> 33<A NAME="navbar_top"><!-- --></A> 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 36<TR> 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 38<A NAME="navbar_top_firstrow"><!-- --></A> 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 40 <TR ALIGN="center" VALIGN="top"> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DoubleNode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 49 </TR> 50</TABLE> 51</TD> 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 53</EM> 54</TD> 55</TR> 56 57<TR> 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 59 <A HREF="../../../../../com/fasterxml/jackson/databind/node/DecimalNode.html" title="class in com.fasterxml.jackson.databind.node"><B>PREV CLASS</B></A> 60 <A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html" title="class in com.fasterxml.jackson.databind.node"><B>NEXT CLASS</B></A></FONT></TD> 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 62 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/node/DoubleNode.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="DoubleNode.html" target="_top"><B>NO FRAMES</B></A> 64 <SCRIPT type="text/javascript"> 65 <!-- 66 if(window==top) { 67 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 68 } 69 //--> 70</SCRIPT> 71<NOSCRIPT> 72 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 73</NOSCRIPT> 74 75 76</FONT></TD> 77</TR> 78<TR> 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 80 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 82DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 83</TR> 84</TABLE> 85<A NAME="skip-navbar_top"></A> 86<!-- ========= END OF TOP NAVBAR ========= --> 87 88<HR> 89<!-- ======== START OF CLASS DATA ======== --> 90<H2> 91<FONT SIZE="-1"> 92com.fasterxml.jackson.databind.node</FONT> 93<BR> 94Class DoubleNode</H2> 95<PRE> 96<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> 97 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</A> 98 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.BaseJsonNode</A> 99 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.ValueNode</A> 100 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.NumericNode</A> 101 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.node.DoubleNode</B> 102</PRE> 103<DL> 104<DT><B>All Implemented Interfaces:</B> <DD>com.fasterxml.jackson.core.TreeNode, <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> 105</DL> 106<HR> 107<DL> 108<DT><PRE>public final class <B>DoubleNode</B><DT>extends <A HREF="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node">NumericNode</A></DL> 109</PRE> 110 111<P> 112Numeric node that contains 64-bit ("double precision") 113 floating point values simple 32-bit integer values. 114<P> 115 116<P> 117<HR> 118 119<P> 120<!-- =========== FIELD SUMMARY =========== --> 121 122<A NAME="field_summary"><!-- --></A> 123<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 124<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 125<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 126<B>Field Summary</B></FONT></TH> 127</TR> 128<TR BGCOLOR="white" CLASS="TableRowColor"> 129<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 130<CODE>protected double</CODE></FONT></TD> 131<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#_value">_value</A></B></CODE> 132 133<BR> 134 </TD> 135</TR> 136</TABLE> 137 <A NAME="fields_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"><!-- --></A> 138<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 139<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 140<TH ALIGN="left"><B>Fields inherited from class com.fasterxml.jackson.databind.<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</A></B></TH> 141</TR> 142<TR BGCOLOR="white" CLASS="TableRowColor"> 143<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#NO_NODES">NO_NODES</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#NO_STRINGS">NO_STRINGS</A></CODE></TD> 144</TR> 145</TABLE> 146 147<!-- ======== CONSTRUCTOR SUMMARY ======== --> 148 149<A NAME="constructor_summary"><!-- --></A> 150<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 151<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 152<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 153<B>Constructor Summary</B></FONT></TH> 154</TR> 155<TR BGCOLOR="white" CLASS="TableRowColor"> 156<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#DoubleNode(double)">DoubleNode</A></B>(double v)</CODE> 157 158<BR> 159 </TD> 160</TR> 161</TABLE> 162 163<!-- ========== METHOD SUMMARY =========== --> 164 165<A NAME="method_summary"><!-- --></A> 166<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 167<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 168<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 169<B>Method Summary</B></FONT></TH> 170</TR> 171<TR BGCOLOR="white" CLASS="TableRowColor"> 172<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 173<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></FONT></TD> 174<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#asText()">asText</A></B>()</CODE> 175 176<BR> 177 Method that will return a valid String representation of 178 the container value, if the node is a value node 179 (method <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><CODE>JsonNode.isValueNode()</CODE></A> returns true), 180 otherwise empty String.</TD> 181</TR> 182<TR BGCOLOR="white" CLASS="TableRowColor"> 183<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 184<CODE> com.fasterxml.jackson.core.JsonToken</CODE></FONT></TD> 185<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#asToken()">asToken</A></B>()</CODE> 186 187<BR> 188 Method that can be used for efficient type detection 189 when using stream abstraction for traversing nodes.</TD> 190</TR> 191<TR BGCOLOR="white" CLASS="TableRowColor"> 192<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 193<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></FONT></TD> 194<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#bigIntegerValue()">bigIntegerValue</A></B>()</CODE> 195 196<BR> 197 </TD> 198</TR> 199<TR BGCOLOR="white" CLASS="TableRowColor"> 200<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 201<CODE> boolean</CODE></FONT></TD> 202<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#canConvertToInt()">canConvertToInt</A></B>()</CODE> 203 204<BR> 205 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>.</TD> 208</TR> 209<TR BGCOLOR="white" CLASS="TableRowColor"> 210<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 211<CODE> boolean</CODE></FONT></TD> 212<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#canConvertToLong()">canConvertToLong</A></B>()</CODE> 213 214<BR> 215 Method that can be used to check whether this node is a numeric 216 node (<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>JsonNode.isNumber()</CODE></A> would return true) AND its value fits 217 within Java's 64-bit signed integer type, <code>long</code>.</TD> 218</TR> 219<TR BGCOLOR="white" CLASS="TableRowColor"> 220<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 221<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></FONT></TD> 222<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#decimalValue()">decimalValue</A></B>()</CODE> 223 224<BR> 225 </TD> 226</TR> 227<TR BGCOLOR="white" CLASS="TableRowColor"> 228<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 229<CODE> double</CODE></FONT></TD> 230<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#doubleValue()">doubleValue</A></B>()</CODE> 231 232<BR> 233 </TD> 234</TR> 235<TR BGCOLOR="white" CLASS="TableRowColor"> 236<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 237<CODE> boolean</CODE></FONT></TD> 238<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#equals(java.lang.Object)">equals</A></B>(<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> 239 240<BR> 241 Equality for node objects is defined as full (deep) value 242 equality.</TD> 243</TR> 244<TR BGCOLOR="white" CLASS="TableRowColor"> 245<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 246<CODE> int</CODE></FONT></TD> 247<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#hashCode()">hashCode</A></B>()</CODE> 248 249<BR> 250 </TD> 251</TR> 252<TR BGCOLOR="white" CLASS="TableRowColor"> 253<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 254<CODE> int</CODE></FONT></TD> 255<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#intValue()">intValue</A></B>()</CODE> 256 257<BR> 258 Returns integer value for this node, <b>if and only if</b> 259 this node is numeric (<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>JsonNode.isNumber()</CODE></A> returns true).</TD> 260</TR> 261<TR BGCOLOR="white" CLASS="TableRowColor"> 262<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 263<CODE> boolean</CODE></FONT></TD> 264<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#isDouble()">isDouble</A></B>()</CODE> 265 266<BR> 267 </TD> 268</TR> 269<TR BGCOLOR="white" CLASS="TableRowColor"> 270<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 271<CODE> boolean</CODE></FONT></TD> 272<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#isFloatingPointNumber()">isFloatingPointNumber</A></B>()</CODE> 273 274<BR> 275 </TD> 276</TR> 277<TR BGCOLOR="white" CLASS="TableRowColor"> 278<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 279<CODE> long</CODE></FONT></TD> 280<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#longValue()">longValue</A></B>()</CODE> 281 282<BR> 283 </TD> 284</TR> 285<TR BGCOLOR="white" CLASS="TableRowColor"> 286<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 287<CODE> com.fasterxml.jackson.core.JsonParser.NumberType</CODE></FONT></TD> 288<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#numberType()">numberType</A></B>()</CODE> 289 290<BR> 291 Returns code that identifies type of underlying numeric 292 value, if (and only if) node is a number node.</TD> 293</TR> 294<TR BGCOLOR="white" CLASS="TableRowColor"> 295<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 296<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></FONT></TD> 297<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#numberValue()">numberValue</A></B>()</CODE> 298 299<BR> 300 Returns numeric value for this node, <b>if and only if</b> 301 this node is numeric (<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>JsonNode.isNumber()</CODE></A> returns true); otherwise 302 returns null</TD> 303</TR> 304<TR BGCOLOR="white" CLASS="TableRowColor"> 305<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 306<CODE> void</CODE></FONT></TD> 307<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</A></B>(com.fasterxml.jackson.core.JsonGenerator jg, 308 <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> provider)</CODE> 309 310<BR> 311 Method called to serialize node instances using given generator.</TD> 312</TR> 313<TR BGCOLOR="white" CLASS="TableRowColor"> 314<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 315<CODE>static <A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html" title="class in com.fasterxml.jackson.databind.node">DoubleNode</A></CODE></FONT></TD> 316<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html#valueOf(double)">valueOf</A></B>(double v)</CODE> 317 318<BR> 319 </TD> 320</TR> 321</TABLE> 322 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.node.NumericNode"><!-- --></A> 323<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 324<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 325<TH ALIGN="left"><B>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></B></TH> 326</TR> 327<TR BGCOLOR="white" CLASS="TableRowColor"> 328<TD><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#isNumber()">isNumber</A></CODE></TD> 329</TR> 330</TABLE> 331 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.node.ValueNode"><!-- --></A> 332<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 333<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 334<TH ALIGN="left"><B>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></B></TH> 335</TR> 336<TR BGCOLOR="white" CLASS="TableRowColor"> 337<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#deepCopy()">deepCopy</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#isValueNode()">isValueNode</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></TD> 338</TR> 339</TABLE> 340 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode"><!-- --></A> 341<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 342<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 343<TH ALIGN="left"><B>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></B></TH> 344</TR> 345<TR BGCOLOR="white" CLASS="TableRowColor"> 346<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findParent(java.lang.String)">findParent</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findParents(java.lang.String, java.util.List)">findParents</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findPath(java.lang.String)">findPath</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findValue(java.lang.String)">findValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findValues(java.lang.String, java.util.List)">findValues</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse()">traverse</A></CODE></TD> 347</TR> 348</TABLE> 349 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"><!-- --></A> 350<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 351<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 352<TH ALIGN="left"><B>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></B></TH> 353</TR> 354<TR BGCOLOR="white" CLASS="TableRowColor"> 355<TD><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#get(int)">get</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)">get</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(int)">has</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(java.lang.String)">has</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#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#isObject()">isObject</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isPojo()">isPojo</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual()">isTextual</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></TD> 356</TR> 357</TABLE> 358 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 359<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 360<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 361<TH ALIGN="left"><B>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></B></TH> 362</TR> 363<TR BGCOLOR="white" CLASS="TableRowColor"> 364<TD><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></TD> 365</TR> 366</TABLE> 367 368<P> 369 370<!-- ============ FIELD DETAIL =========== --> 371 372<A NAME="field_detail"><!-- --></A> 373<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 374<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 375<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 376<B>Field Detail</B></FONT></TH> 377</TR> 378</TABLE> 379 380<A NAME="_value"><!-- --></A><H3> 381_value</H3> 382<PRE> 383protected final double <B>_value</B></PRE> 384<DL> 385<DL> 386</DL> 387</DL> 388 389<!-- ========= CONSTRUCTOR DETAIL ======== --> 390 391<A NAME="constructor_detail"><!-- --></A> 392<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 393<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 394<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 395<B>Constructor Detail</B></FONT></TH> 396</TR> 397</TABLE> 398 399<A NAME="DoubleNode(double)"><!-- --></A><H3> 400DoubleNode</H3> 401<PRE> 402public <B>DoubleNode</B>(double v)</PRE> 403<DL> 404</DL> 405 406<!-- ============ METHOD DETAIL ========== --> 407 408<A NAME="method_detail"><!-- --></A> 409<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 410<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 411<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 412<B>Method Detail</B></FONT></TH> 413</TR> 414</TABLE> 415 416<A NAME="valueOf(double)"><!-- --></A><H3> 417valueOf</H3> 418<PRE> 419public static <A HREF="../../../../../com/fasterxml/jackson/databind/node/DoubleNode.html" title="class in com.fasterxml.jackson.databind.node">DoubleNode</A> <B>valueOf</B>(double v)</PRE> 420<DL> 421<DD><DL> 422</DL> 423</DD> 424</DL> 425<HR> 426 427<A NAME="asToken()"><!-- --></A><H3> 428asToken</H3> 429<PRE> 430public com.fasterxml.jackson.core.JsonToken <B>asToken</B>()</PRE> 431<DL> 432<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</A></CODE></B></DD> 433<DD>Method that can be used for efficient type detection 434 when using stream abstraction for traversing nodes. 435 Will return the first <CODE>JsonToken</CODE> that equivalent 436 stream event would produce (for most nodes there is just 437 one token but for structured/container types multiple) 438<P> 439<DD><DL> 440<DT><B>Specified by:</B><DD><CODE>asToken</CODE> in interface <CODE>com.fasterxml.jackson.core.TreeNode</CODE><DT><B>Specified by:</B><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></DL> 441</DD> 442<DD><DL> 443</DL> 444</DD> 445</DL> 446<HR> 447 448<A NAME="numberType()"><!-- --></A><H3> 449numberType</H3> 450<PRE> 451public com.fasterxml.jackson.core.JsonParser.NumberType <B>numberType</B>()</PRE> 452<DL> 453<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#numberType()">BaseJsonNode</A></CODE></B></DD> 454<DD>Returns code that identifies type of underlying numeric 455 value, if (and only if) node is a number node. 456<P> 457<DD><DL> 458<DT><B>Specified by:</B><DD><CODE>numberType</CODE> in interface <CODE>com.fasterxml.jackson.core.TreeNode</CODE><DT><B>Specified by:</B><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></DL> 459</DD> 460<DD><DL> 461 462<DT><B>Returns:</B><DD>Type of number contained, if any; or null if node does not 463 contain numeric value.</DL> 464</DD> 465</DL> 466<HR> 467 468<A NAME="isFloatingPointNumber()"><!-- --></A><H3> 469isFloatingPointNumber</H3> 470<PRE> 471public boolean <B>isFloatingPointNumber</B>()</PRE> 472<DL> 473<DD><DL> 474<DT><B>Overrides:</B><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></DL> 475</DD> 476<DD><DL> 477 478<DT><B>Returns:</B><DD>True if this node represents a non-integral 479 numeric JSON value</DL> 480</DD> 481</DL> 482<HR> 483 484<A NAME="isDouble()"><!-- --></A><H3> 485isDouble</H3> 486<PRE> 487public boolean <B>isDouble</B>()</PRE> 488<DL> 489<DD><DL> 490<DT><B>Overrides:</B><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></DL> 491</DD> 492<DD><DL> 493</DL> 494</DD> 495</DL> 496<HR> 497 498<A NAME="canConvertToInt()"><!-- --></A><H3> 499canConvertToInt</H3> 500<PRE> 501public boolean <B>canConvertToInt</B>()</PRE> 502<DL> 503<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()">JsonNode</A></CODE></B></DD> 504<DD>Method that can be used to check whether this node is a numeric 505 node (<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>JsonNode.isNumber()</CODE></A> would return true) AND its value fits 506 within Java's 32-bit signed integer type, <code>int</code>. 507 Note that floating-point numbers are convertible if the integral 508 part fits without overflow (as per standard Java coercion rules) 509<P> 510<DD><DL> 511<DT><B>Specified by:</B><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></DL> 512</DD> 513<DD><DL> 514</DL> 515</DD> 516</DL> 517<HR> 518 519<A NAME="canConvertToLong()"><!-- --></A><H3> 520canConvertToLong</H3> 521<PRE> 522public boolean <B>canConvertToLong</B>()</PRE> 523<DL> 524<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToLong()">JsonNode</A></CODE></B></DD> 525<DD>Method that can be used to check whether this node is a numeric 526 node (<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>JsonNode.isNumber()</CODE></A> would return true) AND its value fits 527 within Java's 64-bit signed integer type, <code>long</code>. 528 Note that floating-point numbers are convertible if the integral 529 part fits without overflow (as per standard Java coercion rules) 530<P> 531<DD><DL> 532<DT><B>Specified by:</B><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></DL> 533</DD> 534<DD><DL> 535</DL> 536</DD> 537</DL> 538<HR> 539 540<A NAME="numberValue()"><!-- --></A><H3> 541numberValue</H3> 542<PRE> 543public <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> <B>numberValue</B>()</PRE> 544<DL> 545<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue()">JsonNode</A></CODE></B></DD> 546<DD>Returns numeric value for this node, <b>if and only if</b> 547 this node is numeric (<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>JsonNode.isNumber()</CODE></A> returns true); otherwise 548 returns null 549<P> 550<DD><DL> 551<DT><B>Specified by:</B><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></DL> 552</DD> 553<DD><DL> 554 555<DT><B>Returns:</B><DD>Number value this node contains, if any (null for non-number 556 nodes).</DL> 557</DD> 558</DL> 559<HR> 560 561<A NAME="intValue()"><!-- --></A><H3> 562intValue</H3> 563<PRE> 564public int <B>intValue</B>()</PRE> 565<DL> 566<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue()">JsonNode</A></CODE></B></DD> 567<DD>Returns integer value for this node, <b>if and only if</b> 568 this node is numeric (<A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()"><CODE>JsonNode.isNumber()</CODE></A> returns true). For other 569 types returns 0. 570 For floating-point numbers, value is truncated using default 571 Java coercion, similar to how cast from double to int operates. 572<P> 573<DD><DL> 574<DT><B>Specified by:</B><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></DL> 575</DD> 576<DD><DL> 577 578<DT><B>Returns:</B><DD>Integer value this node contains, if any; 0 for non-number 579 nodes.</DL> 580</DD> 581</DL> 582<HR> 583 584<A NAME="longValue()"><!-- --></A><H3> 585longValue</H3> 586<PRE> 587public long <B>longValue</B>()</PRE> 588<DL> 589<DD><DL> 590<DT><B>Specified by:</B><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></DL> 591</DD> 592<DD><DL> 593</DL> 594</DD> 595</DL> 596<HR> 597 598<A NAME="doubleValue()"><!-- --></A><H3> 599doubleValue</H3> 600<PRE> 601public double <B>doubleValue</B>()</PRE> 602<DL> 603<DD><DL> 604<DT><B>Specified by:</B><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></DL> 605</DD> 606<DD><DL> 607</DL> 608</DD> 609</DL> 610<HR> 611 612<A NAME="decimalValue()"><!-- --></A><H3> 613decimalValue</H3> 614<PRE> 615public <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> <B>decimalValue</B>()</PRE> 616<DL> 617<DD><DL> 618<DT><B>Specified by:</B><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></DL> 619</DD> 620<DD><DL> 621</DL> 622</DD> 623</DL> 624<HR> 625 626<A NAME="bigIntegerValue()"><!-- --></A><H3> 627bigIntegerValue</H3> 628<PRE> 629public <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> <B>bigIntegerValue</B>()</PRE> 630<DL> 631<DD><DL> 632<DT><B>Specified by:</B><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></DL> 633</DD> 634<DD><DL> 635</DL> 636</DD> 637</DL> 638<HR> 639 640<A NAME="asText()"><!-- --></A><H3> 641asText</H3> 642<PRE> 643public <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> <B>asText</B>()</PRE> 644<DL> 645<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText()">JsonNode</A></CODE></B></DD> 646<DD>Method that will return a valid String representation of 647 the container value, if the node is a value node 648 (method <A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()"><CODE>JsonNode.isValueNode()</CODE></A> returns true), 649 otherwise empty String. 650<P> 651<DD><DL> 652<DT><B>Specified by:</B><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></DL> 653</DD> 654<DD><DL> 655</DL> 656</DD> 657</DL> 658<HR> 659 660<A NAME="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)"><!-- --></A><H3> 661serialize</H3> 662<PRE> 663public final void <B>serialize</B>(com.fasterxml.jackson.core.JsonGenerator jg, 664 <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> provider) 665 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>, 666 com.fasterxml.jackson.core.JsonProcessingException</PRE> 667<DL> 668<DD><B>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></B></DD> 669<DD>Method called to serialize node instances using given generator. 670<P> 671<DD><DL> 672<DT><B>Specified by:</B><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><DT><B>Specified by:</B><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></DL> 673</DD> 674<DD><DL> 675 676<DT><B>Throws:</B> 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> 678<DD><CODE>com.fasterxml.jackson.core.JsonProcessingException</CODE></DL> 679</DD> 680</DL> 681<HR> 682 683<A NAME="equals(java.lang.Object)"><!-- --></A><H3> 684equals</H3> 685<PRE> 686public boolean <B>equals</B>(<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> 687<DL> 688<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">JsonNode</A></CODE></B></DD> 689<DD>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>. 696<P> 697<DD><DL> 698<DT><B>Specified by:</B><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></DL> 699</DD> 700<DD><DL> 701</DL> 702</DD> 703</DL> 704<HR> 705 706<A NAME="hashCode()"><!-- --></A><H3> 707hashCode</H3> 708<PRE> 709public int <B>hashCode</B>()</PRE> 710<DL> 711<DD><DL> 712<DT><B>Overrides:</B><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></DL> 713</DD> 714<DD><DL> 715</DL> 716</DD> 717</DL> 718<!-- ========= END OF CLASS DATA ========= --> 719<HR> 720 721 722<!-- ======= START OF BOTTOM NAVBAR ====== --> 723<A NAME="navbar_bottom"><!-- --></A> 724<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 725<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 726<TR> 727<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 728<A NAME="navbar_bottom_firstrow"><!-- --></A> 729<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 730 <TR ALIGN="center" VALIGN="top"> 731 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 732 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 733 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 734 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DoubleNode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 735 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 736 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 737 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 738 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 739 </TR> 740</TABLE> 741</TD> 742<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 743</EM> 744</TD> 745</TR> 746 747<TR> 748<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 749 <A HREF="../../../../../com/fasterxml/jackson/databind/node/DecimalNode.html" title="class in com.fasterxml.jackson.databind.node"><B>PREV CLASS</B></A> 750 <A HREF="../../../../../com/fasterxml/jackson/databind/node/IntNode.html" title="class in com.fasterxml.jackson.databind.node"><B>NEXT CLASS</B></A></FONT></TD> 751<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 752 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/node/DoubleNode.html" target="_top"><B>FRAMES</B></A> 753 <A HREF="DoubleNode.html" target="_top"><B>NO FRAMES</B></A> 754 <SCRIPT type="text/javascript"> 755 <!-- 756 if(window==top) { 757 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 758 } 759 //--> 760</SCRIPT> 761<NOSCRIPT> 762 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 763</NOSCRIPT> 764 765 766</FONT></TD> 767</TR> 768<TR> 769<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 770 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 771<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 772DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 773</TR> 774</TABLE> 775<A NAME="skip-navbar_bottom"></A> 776<!-- ======== END OF BOTTOM NAVBAR ======= --> 777 778<HR> 779Copyright © 2012 <a href="http://fasterxml.com">fasterxml.com</a>. All Rights Reserved. 780</BODY> 781</HTML> 782