Top "Linkedhashmap" questions

LinkedHashMap is a Hash table and linked list implementation of the Map interface in the Java Standard library.

ConcurrentModificationException with LinkedHashMap

Not sure what is triggering a java.util.ConcurrentModificationException when I iterate over the LinkedHashMap structure in the code below. …

java concurrentmodification linkedhashmap
Why doesn't LinkedHashMap provide access by index?

From Javadoc: Hash table and linked list implementation of the Map interface, with predictable iteration order. This implementation differs from …

java linkedhashmap
Collect stream of EntrySet to LinkedHashMap

I want to collect the stream to a LinkedHashMap<String, Object>. I have a JSON resource that is …

java hashmap java-stream linkedhashmap
What are the pros and cons of LinkedHashMaps vs. LinkedHashSets?

Could someone explain the main benefits for choosing one over the other and the detriments that come with that choice?

java linkedhashmap linkedhashset
I need an immutable key-value structure that retains insertion order

I want to find something like ImmutableLinkedHashMap<> in Guava library. I need to use an immutable key-value data …

java guava immutability linkedhashmap
LinkedHashMap in .NET

I wonder if there is a counterpart to java.util.LinkedHashMap in .NET? (ie. the elements are (re)ordered automatically …

java .net .net-3.5 linkedhashmap
serialize/deserialize a LinkedHashMap (android) java

So i want to pass a LinkedHashMap to an intent. //SEND THE MAP Intent singlechannel = new Intent(getBaseContext(),singlechannel.class); …

java android serialization linkedhashmap
How to sort a LinkedHashMap by its value class's field?

I use the following lines to sort a LinkedHashMap, but not all items are sorted, anything wrong ? LinkedHashMap<String,…

java sorting linkedhashmap
Most convenient way to get the last key or value in a LinkedHashMap?

LinkedHashMap description says "it maintains a doubly-linked list running through all of its entries" so I'm wondering how to get …

java key linkedhashmap
Create a Map of Array of Structs in golang?

I had a Json of format { ..., "tclist":[{ "tcID":"TC1", "tcp":"/home/1.py", "time":"20:00:40" }, { "tcID":"TC2", "tcp":"/home/1.py", "time":"048:50:06" }], ... } I …

go hashmap associative-array linkedhashmap linkedhashset