On Wed, 3 Sep 2003, Stephen Colebourne wrote:
The main package contains SequencedHashMap.
The decorators package contains SequencedSet.
Be nice to have a SequencedMap in the decorators package. Any volunteers?
Will do. Unless someone else gets it in first. Probably a weekend thing
though,
]
To: Jakarta Commons Developers List [EMAIL PROTECTED]
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
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
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,
, August 29, 2003 7: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