Remove Java Remove Outsource Development Remove Sample
article thumbnail

EnumSet and EnumMap

TechEmpower

from Java's standard libraries. Historically, Enum{Set,Map} were recommended as a matter of safety, taking better advantage of Java's type system than the alternatives. Effective Java goes into detail about this use case for Enum{Set,Map} and enum types in general. This article discusses java.util.EnumSet. and java.util.EnumMap.

Java 330