ciao,
come si crea un iteratore per scorrere gli elementi di una hashtable?
grazie
ciao,
come si crea un iteratore per scorrere gli elementi di una hashtable?
grazie
puoi facilmente ottenere un Enumeration degli elementi/chiavi con i metodi elements() e keys():
http://java.sun.com/j2se/1.4.2/docs/...Hashtable.html
a quel punto scorri con hasMoreElements/nextElement, ad esempio.
<´¯)(¯`¤._)(¯`»ANDREA«´¯)(_.¤´¯)(¯`>
"The answer to your question is: welcome to tomorrow"