A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
What is a data structure for Map that preserves insert order?
Joined: Jul 02, 2008
May 13, 2010 14:11:59
I'm using Java 1.6. Is there a data structure similar to Map (or implementation of Map) that will preserve the order in which I insert elements via
? Ultimately I am looking to get back a list of Map.Entry<Object, Object> objects from the aforementioned data structure.
Thanks, - Dave
Author and ninkuma
Joined: Jan 10, 2002
May 13, 2010 14:12:53
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: What is a data structure for Map that preserves insert order?
Retrieving insertion order of a map
HELP - Stuck on a TreeMap key problem
Alternate way of inserting the values in map?
HashMap with unique key & unique values
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014