EnumSet and EnumMap
TechEmpower
FEBRUARY 14, 2017
I put sample implementations on GitHub in case you're curious what these overrides might look like. Some developers don't know these classes exist. Other developers know about these classes but don't bother to reach for them when the time comes. keySet,values,entrySet}().forEach(action). forEach(action). iterator().forEachRemaining(action).
Let's personalize your content