- Enclosing class:
- Trie2
public static class Trie2.Range
extends Object
When iterating over the contents of a Trie2, Elements of this type are produced.
The iterator will return one item for each contiguous range of codepoints having the same value.
When iterating, the same Trie2EnumRange object will be reused and returned for each range.
If you need to retain complete iteration results, clone each returned Trie2EnumRange,
or save the range in some other way, before advancing to the next iteration step.