code: public boolean transliterate(Replaceable text,
                                   Transliterator.Position pos,
                                   boolean incremental) {
          int indexByte = text.char32At(pos.start) & 0xFF;
          for (int i=index[indexByte]; i<index[indexByte+1]; ++i) {
              int m = rules[i].matchAndReplace(text, pos, incremental);
              switch (m) {
              case UnicodeMatcher.U_MATCH:
                  if (Transliterator.DEBUG) {
                      System.out.println((incremental ? "Rule.i: match ":"Rule: match ") +
                                         rules[i].toRule(true) + " => " +
                                         UtilityExtensions.formatInput(text, pos));
                  }
                  return true;
              case UnicodeMatcher.U_PARTIAL_MATCH:
                  if (Transliterator.DEBUG) {
                      System.out.println((incremental ? "Rule.i: partial match ":"Rule: partial match ") +
                                         rules[i].toRule(true) + " => " +
                                         UtilityExtensions.formatInput(text, pos));
                  }
                  return false;
                  default:
                      if (Transliterator.DEBUG) {
                          System.out.println("Rule: no match " + rules[i]);
                      }
              }
          }
          // No match or partial match from any rule
          pos.start += UTF16.getCharCount(text.char32At(pos.start));
          if (Transliterator.DEBUG) {
              System.out.println((incremental ? "Rule.i: no match => ":"Rule: no match => ") +
                                 UtilityExtensions.formatInput(text, pos));
          }
          return true;
      }
docs: Transliterate the given text with the given UTransPosition
  indices.  Return TRUE if the transliteration should continue
  or FALSE if it should halt (because of a U_PARTIAL_MATCH match).
  Note that FALSE is only ever returned if isIncremental is TRUE.
  @param text the text to be transliterated
  @param pos the position indices, which will be updated
  @param incremental if TRUE, assume new text may be inserted
  at index.limit, and return FALSE if thre is a partial match.
  @return TRUE unless a U_PARTIAL_MATCH has been obtained,
  indicating that transliteration should stop until more text
  arrives.