示例#1
0
 /**
  * Adds a match.
  *
  * @param s start position
  * @param e end position
  */
 void add(final int s, final int e) {
   if (!first && (mode == FTMode.ALL || mode == FTMode.ALL_WORDS)) matches.and(s, e);
   else matches.or(s, e);
 }