Get a map of type names to type values. @return map
()
| 276 | * @return map |
| 277 | */ |
| 278 | public static Map<String, Byte> genNameToTypeMap(){ |
| 279 | byte[] types = genAllTypes(); |
| 280 | String[] names = genAllTypeNames(); |
| 281 | Map<String, Byte> ret = new HashMap<String, Byte>(); |
| 282 | for(int i=0;i<types.length;i++){ |
| 283 | ret.put(names[i], types[i]); |
| 284 | } |
| 285 | return ret; |
| 286 | } |
| 287 | |
| 288 | /** |
| 289 | * Get the type name. |
nothing calls this directly
no test coverage detected