• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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:43 PDT 2013 -->
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>ObjectIdMap (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="ObjectIdMap (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/ObjectIdMap.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/util/ObjectBuffer.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Prev Class</span></a></li>
41<li><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Next Class</span></a></li>
42</ul>
43<ul class="navList">
44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/ObjectIdMap.html" target="_top">Frames</a></li>
45<li><a href="ObjectIdMap.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:&nbsp;</li>
65<li><a href="#nested_classes_inherited_from_class_java.util.AbstractMap">Nested</a>&nbsp;|&nbsp;</li>
66<li>Field&nbsp;|&nbsp;</li>
67<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
68<li><a href="#method_summary">Method</a></li>
69</ul>
70<ul class="subNavList">
71<li>Detail:&nbsp;</li>
72<li>Field&nbsp;|&nbsp;</li>
73<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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.util</div>
84<h2 title="Class ObjectIdMap" class="title">Class ObjectIdMap</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="http://docs.oracle.com/javase/6/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">java.util.AbstractMap</a>&lt;K,V&gt;</li>
92<li>
93<ul class="inheritance">
94<li><a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true" title="class or interface in java.util">java.util.IdentityHashMap</a>&lt;<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>,<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>&gt;</li>
95<li>
96<ul class="inheritance">
97<li>com.fasterxml.jackson.databind.util.ObjectIdMap</li>
98</ul>
99</li>
100</ul>
101</li>
102</ul>
103</li>
104</ul>
105<div class="description">
106<ul class="blockList">
107<li class="blockList">
108<dl>
109<dt>All Implemented Interfaces:</dt>
110<dd><a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<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>,<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>&gt;</dd>
111</dl>
112<hr>
113<br>
114<pre>public class <span class="strong">ObjectIdMap</span>
115extends <a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true" title="class or interface in java.util">IdentityHashMap</a>&lt;<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>,<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>&gt;</pre>
116<div class="block">Map used during serialization, to keep track of referable Objects
117 along with lazily evaluated ids.</div>
118<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.util.ObjectIdMap">Serialized Form</a></dd></dl>
119</li>
120</ul>
121</div>
122<div class="summary">
123<ul class="blockList">
124<li class="blockList">
125<!-- ======== NESTED CLASS SUMMARY ======== -->
126<ul class="blockList">
127<li class="blockList"><a name="nested_class_summary">
128<!--   -->
129</a>
130<h3>Nested Class Summary</h3>
131<ul class="blockList">
132<li class="blockList"><a name="nested_classes_inherited_from_class_java.util.AbstractMap">
133<!--   -->
134</a>
135<h3>Nested classes/interfaces inherited from class&nbsp;java.util.<a href="http://docs.oracle.com/javase/6/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">AbstractMap</a></h3>
136<code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">AbstractMap.SimpleEntry</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">K</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">V</a>&gt;, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util">AbstractMap.SimpleImmutableEntry</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util">K</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util">V</a>&gt;</code></li>
137</ul>
138<ul class="blockList">
139<li class="blockList"><a name="nested_classes_inherited_from_class_java.util.Map">
140<!--   -->
141</a>
142<h3>Nested classes/interfaces inherited from interface&nbsp;java.util.<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></h3>
143<code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">K</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">V</a>&gt;</code></li>
144</ul>
145</li>
146</ul>
147<!-- ======== CONSTRUCTOR SUMMARY ======== -->
148<ul class="blockList">
149<li class="blockList"><a name="constructor_summary">
150<!--   -->
151</a>
152<h3>Constructor Summary</h3>
153<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
154<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
155<tr>
156<th class="colOne" scope="col">Constructor and Description</th>
157</tr>
158<tr class="altColor">
159<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ObjectIdMap.html#ObjectIdMap()">ObjectIdMap</a></strong>()</code>&nbsp;</td>
160</tr>
161</table>
162</li>
163</ul>
164<!-- ========== METHOD SUMMARY =========== -->
165<ul class="blockList">
166<li class="blockList"><a name="method_summary">
167<!--   -->
168</a>
169<h3>Method Summary</h3>
170<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
171<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
172<tr>
173<th class="colFirst" scope="col">Modifier and Type</th>
174<th class="colLast" scope="col">Method and Description</th>
175</tr>
176<tr class="altColor">
177<td class="colFirst"><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></td>
178<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ObjectIdMap.html#findId(java.lang.Object)">findId</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>&nbsp;pojo)</code>
179<div class="block">Method that is called to figure out whether we have already
180 seen given POJO: if yes, we will return its id (first looking
181 it up as necessary); if not, we will mark down that we have
182 seen it but return null.</div>
183</td>
184</tr>
185<tr class="rowColor">
186<td class="colFirst"><code>void</code></td>
187<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ObjectIdMap.html#insertId(java.lang.Object, java.lang.Object)">insertId</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>&nbsp;pojo,
188        <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>&nbsp;id)</code>&nbsp;</td>
189</tr>
190</table>
191<ul class="blockList">
192<li class="blockList"><a name="methods_inherited_from_class_java.util.IdentityHashMap">
193<!--   -->
194</a>
195<h3>Methods inherited from class&nbsp;java.util.<a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true" title="class or interface in java.util">IdentityHashMap</a></h3>
196<code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true#clear()" title="class or interface in java.util">clear</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true#clone()" title="class or interface in java.util">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true#containsKey(java.lang.Object)" title="class or interface in java.util">containsKey</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true#containsValue(java.lang.Object)" title="class or interface in java.util">containsValue</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true#entrySet()" title="class or interface in java.util">entrySet</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true#get(java.lang.Object)" title="class or interface in java.util">get</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true#hashCode()" title="class or interface in java.util">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true#isEmpty()" title="class or interface in java.util">isEmpty</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true#keySet()" title="class or interface in java.util">keySet</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true#put(K, V)" title="class or interface in java.util">put</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true#putAll(java.util.Map)" title="class or interface in java.util">putAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util">remove</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true#size()" title="class or interface in java.util">size</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true#values()" title="class or interface in java.util">values</a></code></li>
197</ul>
198<ul class="blockList">
199<li class="blockList"><a name="methods_inherited_from_class_java.util.AbstractMap">
200<!--   -->
201</a>
202<h3>Methods inherited from class&nbsp;java.util.<a href="http://docs.oracle.com/javase/6/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">AbstractMap</a></h3>
203<code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/AbstractMap.html?is-external=true#toString()" title="class or interface in java.util">toString</a></code></li>
204</ul>
205<ul class="blockList">
206<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
207<!--   -->
208</a>
209<h3>Methods inherited from class&nbsp;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>
210<code><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>
211</ul>
212</li>
213</ul>
214</li>
215</ul>
216</div>
217<div class="details">
218<ul class="blockList">
219<li class="blockList">
220<!-- ========= CONSTRUCTOR DETAIL ======== -->
221<ul class="blockList">
222<li class="blockList"><a name="constructor_detail">
223<!--   -->
224</a>
225<h3>Constructor Detail</h3>
226<a name="ObjectIdMap()">
227<!--   -->
228</a>
229<ul class="blockListLast">
230<li class="blockList">
231<h4>ObjectIdMap</h4>
232<pre>public&nbsp;ObjectIdMap()</pre>
233</li>
234</ul>
235</li>
236</ul>
237<!-- ============ METHOD DETAIL ========== -->
238<ul class="blockList">
239<li class="blockList"><a name="method_detail">
240<!--   -->
241</a>
242<h3>Method Detail</h3>
243<a name="findId(java.lang.Object)">
244<!--   -->
245</a>
246<ul class="blockList">
247<li class="blockList">
248<h4>findId</h4>
249<pre>public&nbsp;<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>&nbsp;findId(<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>&nbsp;pojo)</pre>
250<div class="block">Method that is called to figure out whether we have already
251 seen given POJO: if yes, we will return its id (first looking
252 it up as necessary); if not, we will mark down that we have
253 seen it but return null.</div>
254</li>
255</ul>
256<a name="insertId(java.lang.Object, java.lang.Object)">
257<!--   -->
258</a>
259<ul class="blockListLast">
260<li class="blockList">
261<h4>insertId</h4>
262<pre>public&nbsp;void&nbsp;insertId(<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>&nbsp;pojo,
263            <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>&nbsp;id)</pre>
264</li>
265</ul>
266</li>
267</ul>
268</li>
269</ul>
270</div>
271</div>
272<!-- ========= END OF CLASS DATA ========= -->
273<!-- ======= START OF BOTTOM NAVBAR ====== -->
274<div class="bottomNav"><a name="navbar_bottom">
275<!--   -->
276</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
277<!--   -->
278</a>
279<ul class="navList" title="Navigation">
280<li><a href="../../../../../overview-summary.html">Overview</a></li>
281<li><a href="package-summary.html">Package</a></li>
282<li class="navBarCell1Rev">Class</li>
283<li><a href="class-use/ObjectIdMap.html">Use</a></li>
284<li><a href="package-tree.html">Tree</a></li>
285<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
286<li><a href="../../../../../index-all.html">Index</a></li>
287<li><a href="../../../../../help-doc.html">Help</a></li>
288</ul>
289</div>
290<div class="subNav">
291<ul class="navList">
292<li><a href="../../../../../com/fasterxml/jackson/databind/util/ObjectBuffer.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Prev Class</span></a></li>
293<li><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Next Class</span></a></li>
294</ul>
295<ul class="navList">
296<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/ObjectIdMap.html" target="_top">Frames</a></li>
297<li><a href="ObjectIdMap.html" target="_top">No Frames</a></li>
298</ul>
299<ul class="navList" id="allclasses_navbar_bottom">
300<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
301</ul>
302<div>
303<script type="text/javascript"><!--
304  allClassesLink = document.getElementById("allclasses_navbar_bottom");
305  if(window==top) {
306    allClassesLink.style.display = "block";
307  }
308  else {
309    allClassesLink.style.display = "none";
310  }
311  //-->
312</script>
313</div>
314<div>
315<ul class="subNavList">
316<li>Summary:&nbsp;</li>
317<li><a href="#nested_classes_inherited_from_class_java.util.AbstractMap">Nested</a>&nbsp;|&nbsp;</li>
318<li>Field&nbsp;|&nbsp;</li>
319<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
320<li><a href="#method_summary">Method</a></li>
321</ul>
322<ul class="subNavList">
323<li>Detail:&nbsp;</li>
324<li>Field&nbsp;|&nbsp;</li>
325<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
326<li><a href="#method_detail">Method</a></li>
327</ul>
328</div>
329<a name="skip-navbar_bottom">
330<!--   -->
331</a></div>
332<!-- ======== END OF BOTTOM NAVBAR ======= -->
333<p class="legalCopy"><small>Copyright &#169; 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
334</body>
335</html>
336