Java 8-based EnumMap utilities.