Example #1
0
 public static AntiCacheDBType get(int idx) {
   AntiCacheDBType values[] = AntiCacheDBType.values();
   if (idx < 0 || idx >= values.length) {
     return (null);
   }
   return (values[idx]);
 }
Example #2
0
 static {
   for (AntiCacheDBType vt : EnumSet.allOf(AntiCacheDBType.class)) {
     name_lookup.put(vt.name().toLowerCase(), vt);
   }
 } // STATIC