Class UCharacter.UCharacterTypeIterator
java.lang.Object
com.ibm.icu.lang.UCharacter.UCharacterTypeIterator
- All Implemented Interfaces:
RangeValueIterator
- Enclosing class:
UCharacter
private static final class UCharacter.UCharacterTypeIterator
extends Object
implements RangeValueIterator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classNested classes/interfaces inherited from interface RangeValueIterator
RangeValueIterator.Element -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final UCharacter.UCharacterTypeIterator.MaskTypeprivate Trie2.Rangeprivate Iterator<Trie2.Range> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleannext(RangeValueIterator.Element element) Returns the next maximal result range with a common value and returns true if we are not at the end of the iteration, false otherwise.voidreset()Resets the iterator to the beginning of the iteration.
-
Field Details
-
trieIterator
-
range
-
MASK_TYPE
-
-
Constructor Details
-
UCharacterTypeIterator
UCharacterTypeIterator()
-
-
Method Details
-
next
Description copied from interface:RangeValueIteratorReturns the next maximal result range with a common value and returns true if we are not at the end of the iteration, false otherwise.
If this returns a false, the contents of elements will not be updated.
- Specified by:
nextin interfaceRangeValueIterator- Parameters:
element- for storing the result range and value- Returns:
- true if we are not at the end of the iteration, false otherwise.
- See Also:
-
reset
public void reset()Description copied from interface:RangeValueIteratorResets the iterator to the beginning of the iteration.- Specified by:
resetin interfaceRangeValueIterator
-