commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject Re: [collections] dual list/set implementation?
Date Mon, 01 Sep 2003 00:04:46 GMT

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
>


Mime
View raw message