public final class CustomizableEnum<E extends Enum<E>,T> extends Object
CustomizableEnum can decorate an enum with a new value that may be extended in
a future release.| Constructor and Description |
|---|
CustomizableEnum(E enumtype,
T value)
Instantiates a new
CustomizableEnum. |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Returns the name of the decorated enum or if it is a new value it will return the result of
the toString method of value
|
public CustomizableEnum(E enumtype, T value)
CustomizableEnum.enumtype - the type of the enumvalue - the valuepublic String name()
Copyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.