Class CmapTable.CmapSubtable

java.lang.Object
com.sun.pdfview.font.ttf.CmapTable.CmapSubtable
All Implemented Interfaces:
Comparable
Enclosing class:
CmapTable

class CmapTable.CmapSubtable extends Object implements Comparable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) short
    The platformID for this subtable
    (package private) short
    The platform-specific id
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    CmapSubtable(short platformID, short platformSpecificID)
    Create a Cmap subtable
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Sort ascending by platform ID and then specific ID
    boolean
    Compare two subtables

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • platformID

      short platformID
      The platformID for this subtable
    • platformSpecificID

      short platformSpecificID
      The platform-specific id
  • Constructor Details

    • CmapSubtable

      protected CmapSubtable(short platformID, short platformSpecificID)
      Create a Cmap subtable
  • Method Details

    • equals

      public boolean equals(Object obj)
      Compare two subtables
      Overrides:
      equals in class Object
    • compareTo

      public int compareTo(Object obj)
      Sort ascending by platform ID and then specific ID
      Specified by:
      compareTo in interface Comparable