Beispiel #1
0
 /**
  * Returns the number of indexed pre references for the specified token.
  *
  * @param token text to be found
  * @return number of hits
  */
 public final int count(final IndexToken token) {
   return index(token.type()).count(token);
 }
Beispiel #2
0
 /**
  * Returns the indexed pre references for the specified token.
  *
  * @param token index token reference
  * @return array of sorted pre values
  */
 public final IndexIterator iter(final IndexToken token) {
   return index(token.type()).iter(token);
 }