Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stellation-res] Collection utility methods

Jonathan,

+1.
Sounds useful, and not harmful.

- Jim

At 10:29 PM 9/16/2002, Jonathan Gossage wrote:
In org.eclipse.stellation.util there are a number of Collection class
wrappers including FileList, IntegerList, IntegerSet, StringList and
StringSet. At the moment, none of these wrapper classes has the ability to
handle a raw array in a constructor or add() method. I realize that the
underlying Java classes do not do this but the operations are type-safe and
would provide a useful bridge between low level Java API's and type-safe
collections.

For exanple, the Java File.listFiles() method returns File[] and it would be
useful to be able to move this into a resizable collection. There are many
similar situations in the low level Java API's.

Any thoughts on this? If you think this is a good idea, I would be prepared
to do this immediately since I have immediate need for this facility.


--------------------------------------------------------------------
Jim Wright, IBM T.J. Watson Research Center
*** The Stellation project: Advanced SCM for Collaboration
*** http://www.eclipse.org/stellation
*** Work Email: jwright@xxxxxxxxxxxxxx ------- Personal Email: jim.wright@xxxxxxx



Back to the top