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.
Later,
hyporg <a.k.a. Rushi Desai>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-01-19
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.
--
hyporg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
Later,
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.
--
hyporg