MCPcopy
hub / github.com/baidu/uid-generator / ValuedEnum

Interface ValuedEnum

src/main/java/com/baidu/fsg/uid/utils/ValuedEnum.java:25–27  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

23 * @author yutianbao
24 */
25public interface ValuedEnum<T> {
26 T value();
27}

Callers 2

parseMethod · 0.65
buildWorkerNodeMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected