Class CMapSegment

    • Constructor Summary

      Constructors 
      Constructor Description
      CMapSegment​(int unicodeStart, int unicodeEnd, int glyphStartIndex)
      Creates a new segment.
    • Constructor Detail

      • CMapSegment

        public CMapSegment​(int unicodeStart,
                           int unicodeEnd,
                           int glyphStartIndex)
        Creates a new segment.
        Parameters:
        unicodeStart - Unicode start index
        unicodeEnd - Unicode end index
        glyphStartIndex - glyph start index
    • Method Detail

      • hashCode

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • getUnicodeStart

        public int getUnicodeStart()
        Returns the unicodeStart.
        Returns:
        the Unicode start index
      • getUnicodeEnd

        public int getUnicodeEnd()
        Returns the unicodeEnd.
        Returns:
        the Unicode end index
      • getGlyphStartIndex

        public int getGlyphStartIndex()
        Returns the glyphStartIndex.
        Returns:
        the glyph start index
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object