On Thu, 24 Jan 2002, Scott Sanders wrote: > But doesn't SequencedHashMap use the collections API? What if, for some > extremely crazy reason, you can't (JDK 1.0)? Hashtable != HashMap, > people.
The collections component specifies that its objects conform to the Java2 collections API: http://jakarta.apache.org/commons/collections.html In any case, take a look at the SequencedHashtable implementation in the utils sandbox. While it extends "Hashtable" rather than "HashMap", that doesn't make it JDK <=1.1 compatible. Just looking at the imports demonstrates the SequencedHashtable is not <=1.1 compatible: import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; regards, michael > > Scott > > > -----Original Message----- > > From: Janek Bogucki [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 24, 2002 2:08 AM > > To: Jakarta Commons Developers List > > Subject: Re: Silly Question > > > > > > It's already in commons-collections 1.1-dev as > > SequencedHashMap, and very useful it is too :) > > > > -Janek > > > > > From: "Scott Sanders" <[EMAIL PROTECTED]> > > > Reply-To: "Jakarta Commons Developers List" > > > <[EMAIL PROTECTED]> > > > Date: Wed, 23 Jan 2002 21:00:56 -0800 > > > To: <[EMAIL PROTECTED]> > > > Subject: Silly Question > > > > > > In the sanbox in utils, there exists a SequencedHashtable. > > > > > > Other than the obvious, why is this not in > > commons-collections? Are we > > > saying that something has to implement/extend the > > Collections API to > > > be included? > > > > > > The PROPOSAL.html states that collections was intended for > > ADTs, not > > > just Collections API stuff. > > > > > > So can we say that anything collectionesque (ie, hastables, vectors, > > > etc) should also be included? > > > > > > I think that commons-collections is small enough to warrant the > > > inclusion of this SequencedHashtable, and possibly others, > > as I find > > > them. > > > > > > I will start adding these to commons-collections. Can I get some > > > feedback, maybe even some +1s? > > > > > > Scott Sanders > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:commons-dev-> [EMAIL PROTECTED]> > > > For > > additional commands, > > e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:commons-dev-> [EMAIL PROTECTED]> > > For > > additional commands, > > e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
