Does the collection obtained from the map.values ββ() method preserve the insertion order?
I have a copy LinkedHashMap
. LinkedHashMap
preserves the order of insertion. I need to get the values ββof this card and I need them to be in the same order. So if I call a values()
method on this LinkedHashMap
one
Collection
that I get from the method values()
guarantees the insertion order?
+3
source to share