Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #20002
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: How convert Iterator into Enumeration |
| Date | 2012-11-28 05:22 -0800 |
| Organization | Canadian Mind Products |
| Message-ID | <er3cb8ldjksik6tmvplaj5fqgf6p6v842s@4ax.com> (permalink) |
| References | <k94u33$2vl$1@news.albasani.net> |
On Wed, 28 Nov 2012 12:55:17 +0100, Jan Burse <janburse@fastmail.fm> wrote, quoted or indirectly quoted someone who said : >Is there a fast way to have an Enumeration from a HashMap? An Enumeration is a primitive time of Iterator. You could write some code that in the constructor took an Iterator and behaved like an Enumerator. The Enumerator methods would make calls on the corresponding Iterator methods. There are a number of places where you still need the old StringBuffer, Vector and Enumeration classes. Perhaps these uses should be upgraded deprecating the old versions. -- Roedy Green Canadian Mind Products http://mindprod.com Students who hire or con others to do their homework are as foolish as couch potatoes who hire others to go to the gym for them.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How convert Iterator into Enumeration Jan Burse <janburse@fastmail.fm> - 2012-11-28 12:55 +0100
Re: How convert Iterator into Enumeration Roedy Green <see_website@mindprod.com.invalid> - 2012-11-28 05:22 -0800
Re: How convert Iterator into Enumeration Wanja Gayk <brixomatic@yahoo.com> - 2012-11-30 20:23 +0100
Re: How convert Iterator into Enumeration Jim Janney <jjanney@shell.xmission.com> - 2012-11-28 08:53 -0700
Re: How convert Iterator into Enumeration Jim Janney <jjanney@shell.xmission.com> - 2012-11-28 11:11 -0700
Re: How convert Iterator into Enumeration Roedy Green <see_website@mindprod.com.invalid> - 2012-11-28 12:36 -0800
Re: How convert Iterator into Enumeration Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-11-28 13:00 -0800
Re: How convert Iterator into Enumeration Jim Janney <jjanney@shell.xmission.com> - 2012-11-28 14:01 -0700
Re: How convert Iterator into Enumeration Roedy Green <see_website@mindprod.com.invalid> - 2012-11-28 12:38 -0800
Re: How convert Iterator into Enumeration Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-11-28 13:22 -0500
Re: How convert Iterator into Enumeration Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-11-28 13:28 -0500
Re: How convert Iterator into Enumeration markspace <-@.> - 2012-11-28 13:10 -0800
Re: How convert Iterator into Enumeration Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2012-12-01 17:49 +0100
csiph-web