commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [collections] dual list/set implementation?
Date Wed, 03 Sep 2003 00:00:19 GMT
The main package contains SequencedHashMap.
The decorators package contains SequencedSet.

Be nice to have a SequencedMap in the decorators package. Any volunteers?

And is Ordered a better name than Sequenced?

Stephen

----- Original Message -----
From: "Henri Yandell" <bayard@generationjava.com>
To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
Sent: Monday, September 01, 2003 1:04 AM
Subject: Re: [collections] dual list/set implementation?


>
> Might be a good reason to rename SequencedHashMap in Collections to
> LinkedHashMap :)
>
> I'm all for an OrderedSet in Collections. Had thought there was one there,
> it's something I've written for myself in the past.
>
> Hen
>
> On Sat, 30 Aug 2003, Chris Feldhacker wrote:
>
> > Java 1.4 provides java.util.LinkedHashMap, which does what you're
> > describing, only with a Map.
> >
> > Perhaps collections could mimic it...?
> >
> >
> > ----- Original Message -----
> > From: "__matthewHawthorne"
> > To: "Jakarta Commons Developers List"
> > Sent: Friday, August 29, 2003 1:06 PM
> > Subject: [collections] dual list/set implementation?
> >
> >
> > I recently had to write a small class which followed the contract of
> > java.util.List and java.util.Set... it maintained order and did not
> > allow duplicates.
> >
> > I couldn't find such a class already in collections, did I miss it?  I
> > thought I remembered a discussion about this a while back.
> >
> > If not, is there interest in adding this class?
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


Mime
View raw message