I am using JDBM for my project (listed as IMV on Sourceforge). I was wondering why you are using the interfaces JDBMHashtable and JDBMEnumeration? Java 2 has deprecated Hashtable and Enumerator in the collections framework. It suggests the use of HashMap and Iterator. Why don't we move to JDBMHashMap as well? And do we really need a JDBMEnumeration (or JDBMIterator) interface when all it does is provides the same methods as Iterator?
I can make these changes for you if you like.
hyporg <a.k.a. Rushi Desai>
I have removed JDBMEnumeration from jdbm-0.12. Now JDBMHashtable returns Iterators for keys() and values(). You can download the source from http://rushi.port5.com/jdbm-0.12rd.zip. I am working on converting JDBMHashtable to JDBMHashMap as well. Let me know if anyone is interested.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.