Package eu.bandm.tools.util.java
Class Enums
java.lang.Object
eu.bandm.tools.util.java.Enums
Library of constants and combinators for classes implementing
Enum
.-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.valueMap
(E[] items) Create a map of the given enumeration items by their name.Create a map of all items of the given enumeration class, indexed by their name.
-
Method Details
-
getMap
Deprecated, for removal: This API element is subject to removal in a future version.use<E>valueMap(java.lang.Class<E>)
instead. -
valueMap
Create a map of all items of the given enumeration class, indexed by their name. -
valueMap
Create a map of the given enumeration items by their name. The list of items can be get statically by »classname.values()
« (Java language spec 8.9.3) or by reflection from the class reification.
-
<E>valueMap(java.lang.Class<E>)
instead.