From: Robert Klemme Date: 2004-09-04T18:30:20+09:00 Subject: Re: Hashes and ordering "James Britt" schrieb im Newsbeitrag news:41393AFC.4090001@neurogami.com... > Hal Fulton wrote: > > > > I'm envisioning a data structure that has an order, but is otherwise (in > > behavior, not implementation) like our current Hash. > > > > I don't want to go into detail about what I'm thinking at the moment. > > > > But I can see where my post was unclear or vague and would raise > > very valid questions in your mind. > > Java may have such a thing now (it seems to have a Collection object for > everything else), but I recall writing one for myself because the notion > of an ordered hash is quite useful, mostly for reliable iteration. What do you mean by "now"? java.util.TreeMap is quite old (at least since 1.3). robert