1<!--$Id: collect.so,v 1.1 2006/06/05 17:32:22 bostic Exp $-->
2<!--Copyright (c) 1997,2008 Oracle.  All rights reserved.-->
3<!--See the file LICENSE for redistribution information.-->
4<html>
5<head>
6<title>Berkeley DB Reference Guide: Release 4.5: Collections API</title>
7<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
8<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
9</head>
10<body bgcolor=white>
11<table width="100%"><tr valign=top>
12<td><b><dl><dt>Berkeley DB Reference Guide:<dd>Upgrading Berkeley DB Applications</dl></b></td>
13<td align=right><a href="/upgrade.4.5/pagesize.html"><img src="/images/prev.gif" alt="Prev"></a><a href="/toc.html"><img src="/images/ref.gif" alt="Ref"></a><a href="/upgrade.4.5/config.html"><img src="/images/next.gif" alt="Next"></a>
14</td></tr></table>
15<p align=center><b>Release 4.5: Collections API</b></p>
16<p>The changes to the Collections API are compatible with prior releases,
17with one exception: the Iterator object returned by the
18StoredCollection.iterator() method can no longer be explicitly cast to
19StoredIterator because a different implementation class is now used for
20iterators. If you depend on the StoredIterator class, you must now call
21StoredCollection.storedIterator() instead. Note the
22StoredIterator.close(Iterator) static method is compatible with the new
23iterator implementation, so no changes are necessary if you are using
24that method to close iterators.</p>
25<table width="100%"><tr><td><br></td><td align=right><a href="/upgrade.4.5/pagesize.html"><img src="/images/prev.gif" alt="Prev"></a><a href="/toc.html"><img src="/images/ref.gif" alt="Ref"></a><a href="/upgrade.4.5/config.html"><img src="/images/next.gif" alt="Next"></a>
26</td></tr></table>
27<p><font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
28</body>
29</html>
30