Why not use the Java 2 HashMap?

Anonymous
2002-01-19
2002-01-19
  • Anonymous - 2002-01-19

    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>

     
    • 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

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks