How to use EnumMap in Java with Example

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

How to use EnumMap in Java with Example

EnumMap is a enum based datastructure introduced in Java 5 and an optimized, fast alternative of HashMap if keys are enum. This article explores when
http://javarevisited.blogspot.com/2012/09/what-is-enummap-in-java-example-tutorial.html
  • Total Hits: 20652

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 166 votes

  • Category: JAVA/Core JAVA

  • Submitted on: 2013-01-25 15:49:39

  • Submitted By: Javin Paul

  • Set as Favorite

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.    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 41.57%  69
 Two starsTwo star  Vote LeftVote MiddleVote Right 9.04%  15
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 10.24%  17
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 11.45%  19
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 27.71%  46

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.





Advertisements
Advertisements