Class Trie2.Range

java.lang.Object
com.ibm.icu.impl.Trie2.Range
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.
  • Field Details

    • startCodePoint

      public int startCodePoint
    • endCodePoint

      public int endCodePoint
    • value

      public int value
    • leadSurrogate

      public boolean leadSurrogate
  • Constructor Details

    • Range

      public Range()
  • Method Details