[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [stellation-res] Collection utility methods
|
+1
However, don't forget to look at the Jakarta Commons Collections
library. Maybe some functionality is already implemented there.
http://jakarta.apache.org/commons/collections.html
Ringo
--- Jonathan Gossage <jgossage@xxxxxxxx> 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.
>
> Regards
>
> Jonathan
>
> Personal Email
> jgossage@xxxxxxxx
>
> Business Email
> jonathan@xxxxxxxxxxxxxx
>
> _______________________________________________
> stellation-res mailing list
> stellation-res@xxxxxxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/stellation-res
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com