Re: enumeration question



On 4月22日, 下午8时24分, Roedy Green <see_webs...@xxxxxxxxxxxxxxxxxxxx>
wrote:
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 Glossaryhttp://mindprod.com
yes,it's the easiest way to manage it .i think

.



Relevant Pages

  • Re: jdbc and DB2
    ... Roedy Green Canadian Mind Products ... The Java Glossaryhttp://mindprod.com ...
    (comp.lang.java.databases)
  • Re: JDBC/mysql error...
    ... Roedy Green Canadian Mind Products ... The Java Glossaryhttp://mindprod.com ...
    (comp.lang.java.databases)
  • Re: Regular Expression problem
    ... Roedy Green Canadian Mind Products ... The Java Glossaryhttp://mindprod.com ...
    (comp.lang.java.programmer)
  • Re: seeding random numbers
    ... Roedy Green Canadian Mind Products ... The Java Glossaryhttp://mindprod.com ...
    (comp.lang.java.programmer)
  • Re: jdbc and DB2
    ... Roedy Green Canadian Mind Products ... The Java Glossaryhttp://mindprod.com ...
    (comp.lang.java.databases)