hashtable - Java Enumeration on Hash Table -
i'm cs student working on project hashtables in java. creating our own hashtable , i've completed using linked lists manage collisions.
however professor asking include method within hash table class returns enumeration go through keys in hash table. i'm having trouble understanding how this. i've googled enumeration , i'm getting enum results.
any appreciated.
edit: if i'm reading correctly should have hash table class implement enumeration, , define nextelement() , hasmoreelements() within class? getkeys() method returns enumeration returns hashtable class?
i suggest use java.util.hashtable implementation example. keys() method returns enumeration
Comments
Post a Comment