예제 #1
0
 /**
  * Returns the index of the names locations, or -1
  *
  * @return the index of the names locations, or -1
  */
 public long find_endsWith(String rsc) {
   if (rsc == null) return -1;
   int x = CMParms.endsWith(descs, rsc.toLowerCase());
   if (x >= 0) return allCodes[x];
   return -1;
 }
예제 #2
0
 /**
  * Returns the index of the names locations, or -1
  *
  * @return the index of the names locations, or -1
  */
 public int findDex_endsWith(String rsc) {
   if (rsc == null) return -1;
   int x = CMParms.endsWith(descs, rsc.toLowerCase());
   if (x >= 0) return x;
   return -1;
 }