File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
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
It is sorta covered in the
JavaRanch Style Guide
subject: What is a data structure for Map that preserves insert order?
Alternate way of inserting the values in map?
HashMap with unique key & unique values
Retrieving insertion order of a map
HELP - Stuck on a TreeMap key problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014