Class UnicodeSet.EntryRange

  • Enclosing class:
    UnicodeSet

    public static class UnicodeSet.EntryRange
    extends Object
    A struct-like class used for iteration through ranges, for faster iteration than by String. Read about the restrictions on usage in UnicodeSet.ranges().
    • Field Detail

      • codepoint

        public int codepoint
        The starting code point of the range.
      • codepointEnd

        public int codepointEnd
        The ending code point of the range
    • Method Detail

      • toString

        public String toString()
        Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
           getClass().getName() + '@' + Integer.toHexString(hashCode())

        See Writing a useful toString method if you intend implementing your own toString method.

        Overrides:
        toString in class Object
        Returns:
        a printable representation of this object.