enum

Using Java Enumerations

2 minute read

This article shows a basic implementation of a Java enumeration type that you can use to do a switch on Strings for example.