| Class enabling iteration of the codepoints according to their types.
Result of each iteration contains the interval of codepoints that have
the same type.
Example of use:
RangeValueIterator iterator = UCharacter.getTypeIterator();
RangeValueIterator.Element element = new RangeValueIterator.Element();
while (iterator.next(element)) {
System.out.println("Codepoint \\u" +
Integer.toHexString(element.start) +
" to codepoint \\u" +
Integer.toHexString(element.limit - 1) +
" has the character type " +
element.value);
}
author: synwee See Also: com.ibm.icu.util.TrieIterator since: release 2.1, Jan 24 2002 |