Package org.apache.storm.utils
Class EnumUtil
- java.lang.Object
-
- org.apache.storm.utils.EnumUtil
-
public class EnumUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description EnumUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Enum<T>,U>
EnumMap<T,U>toEnumMap(Class<T> klass, Function<? super T,? extends U> mapper)
Create an Enum map with given lambda mapper.static String
toMetricName(Enum type)
-