Package com.ibm.icu.lang
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 class
Nested classes/interfaces inherited from interface com.ibm.icu.util.RangeValueIterator
RangeValueIterator.Element
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final UCharacter.UCharacterTypeIterator.MaskType
private Trie2.Range
private Iterator<Trie2.Range>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
next
(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.void
reset()
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:RangeValueIterator
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.
If this returns a false, the contents of elements will not be updated.
- Specified by:
next
in 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:RangeValueIterator
Resets the iterator to the beginning of the iteration.- Specified by:
reset
in interfaceRangeValueIterator
-