Package com.bytedesk.core.uid.utils
Interface ValuedEnum<T>
- All Known Implementing Classes:
WorkerNodeType
public interface ValuedEnum<T>
ValuedEnum
defines an enumeration which is bounded to a value, you
may implements this interface when you defines such kind of enumeration, that
you can use EnumUtils
to simplify parse and valueOf operation.- Author:
- yutianbao
-
Method Summary
-
Method Details
-
value
T value()get value- Returns:
- T
-