Is there a Java collection that has the same behavior as the c# abstract KeyedCollection class (that is items can be retrieved by both key and index)? I have looked around but can’t find anything similar.
Thanks, Nick
Advertisement
Answer
I think you can develop Your own class by extending a HashMap