Re: enumeration question



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

You can’t. You can, however, ask for a new Enumerator. However, note
that Enumerator is obsolete, and has been replaced by Iterator. Please
use that in your own code, as far as possible.

H.
- --
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFIDa/Te+7xMGD3itQRAhVOAJ9O8fs35q0XKBgHfF5gnYNrxW9VdgCfdnzP
FAGyfhmTUMFYjCbuDuxfvTw=
=0DUO
-----END PGP SIGNATURE-----
.