Reputation: 358
LinkedHashMap is supposed to contain an insertion-order linked list. Is there any way to access that list? I can't find anything in the javadocs for it.
Upvotes: 2
Views: 566
Reputation: 13793
No, those are implementation details and should never be exposed to the external world.
Upvotes: 2
Reputation: 3801
No it isn't, but depending on what you're trying to do, the iterator returned by iterator()
may be sufficient.
Upvotes: 1