Re: enumeration question



On Tue, 22 Apr 2008 08:50:13 GMT, "a" <a@xxxxxxxx> wrote, quoted or
indirectly quoted someone who said :

How can I get back to the first element after finishing the while loop with
enum.hasMoreElements()?

1. get another Iterator.

2. make a copy first time though.
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.



Relevant Pages