Hello,
I try to set up a data structure which would have the following features:
- Key / value for direct access via get (key)
- The structure must be ordered (and order does not change with time):
key1 -> value1
key2 -> value2
Key3 -> vlaeur3
- Access via index also get (i)
I work in a small enthronement and have access to:
- Interfaces: Collection, List, Map, Set
- Classes: AbstractCollection, AbstractList, AbstractMap, AbstractSet, ArrayList, Dictionary, HashMap, HashSet, Hashtable, Vector
well on any class does not meet all these requirements, it is necessary that I implement my own structure by extending / implementing something exists: In your opinion what is the best way?
Bookmarks