Collections API
Prev | Chapter 13. Upgrading Berkeley DB 4.4 applications to Berkeley DB 4.5 | Next

## Collections API

The changes to the Collections API are compatible with prior releases, with one exception: the Iterator object returned by the StoredCollection.iterator() method can no longer be explicitly cast to StoredIterator because a different implementation class is now used for iterators. If you depend on the StoredIterator class, you must now call StoredCollection.storedIterator() instead. Note the StoredIterator.close(Iterator) static method is compatible with the new iterator implementation, so no changes are necessary if you are using that method to close iterators.

Prev | Up | Next
DB->set_pagesize | Home | --enable-pthread_self