199 |
if (c == '<') |
if (c == '<') |
200 |
{ |
{ |
201 |
ignore_chars = false; |
ignore_chars = false; |
202 |
|
CollationElement e = new CollationElement(sb.toString(), primary_seq, |
203 |
|
secondary_seq, |
204 |
|
tertiary_seq); |
205 |
secondary_seq = 0; |
secondary_seq = 0; |
206 |
tertiary_seq = 0; |
tertiary_seq = 0; |
207 |
++primary_seq; |
++primary_seq; |
208 |
|
|
|
CollationElement e = new CollationElement(sb.toString(), primary_seq, |
|
|
secondary_seq, |
|
|
tertiary_seq); |
|
209 |
v.add(e); |
v.add(e); |
210 |
sb.setLength(0); |
sb.setLength(0); |
211 |
continue; |
continue; |
217 |
if (primary_seq == 0) |
if (primary_seq == 0) |
218 |
throw new ParseException(rules, i); |
throw new ParseException(rules, i); |
219 |
|
|
|
++secondary_seq; |
|
|
tertiary_seq = 0; |
|
|
|
|
220 |
CollationElement e = new CollationElement(sb.toString(), primary_seq, |
CollationElement e = new CollationElement(sb.toString(), primary_seq, |
221 |
secondary_seq, |
secondary_seq, |
222 |
tertiary_seq); |
tertiary_seq); |
223 |
|
++secondary_seq; |
224 |
|
tertiary_seq = 0; |
225 |
|
|
226 |
v.add(e); |
v.add(e); |
227 |
sb.setLength(0); |
sb.setLength(0); |
228 |
continue; |
continue; |
234 |
if (primary_seq == 0) |
if (primary_seq == 0) |
235 |
throw new ParseException(rules, i); |
throw new ParseException(rules, i); |
236 |
|
|
|
++tertiary_seq; |
|
|
|
|
237 |
CollationElement e = new CollationElement(sb.toString(), primary_seq, |
CollationElement e = new CollationElement(sb.toString(), primary_seq, |
238 |
secondary_seq, |
secondary_seq, |
239 |
tertiary_seq); |
tertiary_seq); |
240 |
|
++tertiary_seq; |
241 |
|
|
242 |
v.add(e); |
v.add(e); |
243 |
sb.setLength(0); |
sb.setLength(0); |
244 |
continue; |
continue; |
282 |
sb.append(c); |
sb.append(c); |
283 |
} |
} |
284 |
|
|
285 |
|
if (sb.length() > 0) |
286 |
|
{ |
287 |
|
CollationElement e = new CollationElement (sb.toString(), primary_seq, |
288 |
|
secondary_seq, tertiary_seq); |
289 |
|
v.add (e); |
290 |
|
} |
291 |
|
|
292 |
ce_table = v.toArray(); |
ce_table = v.toArray(); |
293 |
} |
} |
294 |
|
|