Skip to main content

Timeline for answer to How do I efficiently iterate over each entry in a Java Map? by Tom Hawtin - tackline

Current License: CC BY-SA 4.0

Post Revisions

12 events
when toggle format what by license comment
S Mar 29, 2021 at 15:41 history suggested Looky1173 CC BY-SA 4.0
Fixed grammar.
Mar 29, 2021 at 14:59 review Suggested edits
S Mar 29, 2021 at 15:41
Feb 9, 2018 at 1:11 history edited Tom Hawtin - tackline CC BY-SA 3.0
added 46 characters in body
Feb 6, 2018 at 22:36 comment added Peter Mortensen 1. thoughif? 2. The last paragraph might benefit from a brush-up.
Jan 26, 2016 at 21:24 comment added Tom Hawtin - tackline @jpaugh Only direct accesses to the LinkedHashMap count. Those through iterator, spliterator, entrySet, etc., do not modify the order.
Jan 26, 2016 at 20:41 comment added jpaugh "LinkedHashMap will either return entries in [...] access-order [...]" ... so you access the elements in the order you access them? Either tautological, or something interesting which could use a digression. ;-)
S Jan 1, 2016 at 22:04 history edited marko CC BY-SA 3.0
class name typo. Fixed explanation to satisfy SO's minimum char change threshold.
S Jan 1, 2016 at 22:04 history suggested Rob Guest CC BY-SA 3.0
class name typo. Fixed explanation to satisfy SO's minimum char change threshold.
Jan 1, 2016 at 21:49 review Suggested edits
S Jan 1, 2016 at 22:04
Aug 12, 2012 at 3:50 history edited palacsint CC BY-SA 3.0
improves formatting
Mar 10, 2011 at 15:41 comment added Premraj EnumMap also has this peculiar behaviour along with IdentityHashMap
Sep 5, 2008 at 21:26 history answered Tom Hawtin - tackline CC BY-SA 2.5