Creates a new ID list and adds an ID. @param id ID value @param pos token position (only relevant for token index)
(final int id, final int pos)
| 157 | * @param pos token position (only relevant for token index) |
| 158 | */ |
| 159 | private void addNewIds(final int id, final int pos) { |
| 160 | byte[] vs = Num.newNum(id); |
| 161 | if(tokenize) vs = Num.add(vs, pos); |
| 162 | ids.add(vs); |
| 163 | } |
| 164 | |
| 165 | /** |
| 166 | * Appends an ID to the ID list specified by n. |