Re: enumeration question
- From: xinxin <jnzhouxinxin@xxxxxxxxx>
- Date: Tue, 22 Apr 2008 06:18:02 -0700 (PDT)
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 oryes,it's the easiest way to manage it .i think
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
.
- References:
- enumeration question
- From: a
- Re: enumeration question
- From: Roedy Green
- enumeration question
- Prev by Date: Re: comp.lang.java.help charter
- Next by Date: Re: iterating through an array of String's
- Previous by thread: Re: enumeration question
- Next by thread: Java Architects - Immediate Opening
- Index(es):
Relevant Pages
|
|