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 java.lang.Object implements RangeValueIterator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
UCharacter.UCharacterTypeIterator.MaskType
-
Nested classes/interfaces inherited from interface com.ibm.icu.util.RangeValueIterator
RangeValueIterator.Element
-
-
Field Summary
Fields Modifier and Type Field Description private static UCharacter.UCharacterTypeIterator.MaskType
MASK_TYPE
private Trie2.Range
range
private java.util.Iterator<Trie2.Range>
trieIterator
-
Constructor Summary
Constructors Constructor Description UCharacterTypeIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
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 Detail
-
trieIterator
private java.util.Iterator<Trie2.Range> trieIterator
-
range
private Trie2.Range range
-
MASK_TYPE
private static final UCharacter.UCharacterTypeIterator.MaskType MASK_TYPE
-
-
Method Detail
-
next
public boolean next(RangeValueIterator.Element element)
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:
RangeValueIterator.Element
-
reset
public void reset()
Description copied from interface:RangeValueIterator
Resets the iterator to the beginning of the iteration.- Specified by:
reset
in interfaceRangeValueIterator
-
-