Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 23281
Total Votes: 174 votes
Average Rating: 2.78 out of 5
Category: JAVA/Core JAVA
Description:EnumMap is a enum based data structure introduced in Java 5 and an optimized, fast alternative of HashMap if keys are enum. This article explores when to use EnumMap in Java and How to use EnumMap in Java with distinguished advantage of EnumMap over HashMap and difference between HashMap and EnumMap in Java.