Glossary: Software Design Patterns in Java
enum
Also written: enumeration
A Java type with a fixed set of constants. A single-constant enum is the simplest safe singleton.
Glossary: Software Design Patterns in Java
Also written: enumeration
A Java type with a fixed set of constants. A single-constant enum is the simplest safe singleton.