Well, there are methods here and there and even classes already that provide a precedent (org.apache.commons.collections.iterators.EnumerationIterator) for Enumeration work in [collections].
Gary > -----Original Message----- > From: __matthewHawthorne [mailto:[EMAIL PROTECTED] > Sent: Monday, October 27, 2003 11:37 > To: Jakarta Commons Developers List > Subject: Re: [collections] New class EnumerationUtils? > > The only problem is that Enumerations aren't really a part of the > collections framework. Of course, this is just a technicality... but it > may be the reason that a EnumerationUtils class hasn't been created. > > Cany anyone else confirm this? > > > > > Gary Gregory wrote: > > Hello, > > > > In 2.1, I have code like: > > > > java.util.ResourceBundle resourceBundle = ... > > List keysList = IteratorUtils.toList(new > > EnumerationIterator(resourceBundle.getKeys())); > > > > Do we want an EnumerationUtils class, which, for now (a la XP) would > have a > > toList() method and grow from there? > > > > Thanks, > > Gary > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
