Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 16800
Total Votes: 153 votes
Average Rating: 2.76 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.