code: private void dumpRow(java.io.PrintStream out, short table[], int   state) {
          StringBuilder dest = new StringBuilder(fHeader.fCatCount*5 + 20);
          dest.append(intToString(state, 4));
          int row = getRowIndex(state);
          if (table[row+ACCEPTING] != 0) {
             dest.append(intToString(table[row+ACCEPTING], 5));
          }else {
              dest.append("     ");
          }
          if (table[row+LOOKAHEAD] != 0) {
              dest.append(intToString(table[row+LOOKAHEAD], 5));
          }else {
              dest.append("     ");
          }
          dest.append(intToString(table[row+TAGIDX], 5));
  
          for (int col=0; col<fHeader.fCatCount; col++) {
              dest.append(intToString(table[row+NEXTSTATES+col], 5));
          }
  
          out.println(dest);
      }
docs: Dump (for debug) a single row of an RBBI state table
  @param table
  @param state