Class Trie2.Range

  • Enclosing class:
    Trie2

    public static class Trie2.Range
    extends java.lang.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.
    • Constructor Summary

      Constructors 
      Constructor Description
      Range()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • startCodePoint

        public int startCodePoint
      • endCodePoint

        public int endCodePoint
      • value

        public int value
      • leadSurrogate

        public boolean leadSurrogate
    • Constructor Detail

      • Range

        public Range()
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object