Пример #1
0
 /**
  * Find the offsets associated with a name&state.
  *
  * @param name
  * @param state
  * @return the collection of offsets associated with the name and state
  */
 public Vector<Long> find(String name, String state) {
   NameEntry entry = index.find(new NameEntry(name, state));
   if (entry == null) {
     return null;
   }
   return entry.getOffsets();
 }