public static < T extends Enum < T > > EnumDictionary < T > get ( Class < T > clazz ) { EnumDictionary < T > dic = registry . get ( clazz ) ; if ( dic == null ) { boolean sparse = ComEnum . class . isAssignableFrom ( clazz ) ; if ( sparse ) dic = new Sparse < T > ( clazz ) ; else dic = new Continuous < T > ( clazz ) ; registry . put ( clazz , dic ) ; } return dic ; }
Looks up a dictionary from an enum class .