Class CmapTable.CmapSubtable

  • All Implemented Interfaces:
    java.lang.Comparable
    Enclosing class:
    CmapTable

    class CmapTable.CmapSubtable
    extends java.lang.Object
    implements java.lang.Comparable
    • Field Summary

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(java.lang.Object obj)
      Sort ascending by platform ID and then specific ID
      boolean equals​(java.lang.Object obj)
      Compare two subtables
      • Methods inherited from class java.lang.Object

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

      • platformID

        short platformID
        The platformID for this subtable
      • platformSpecificID

        short platformSpecificID
        The platform-specific id
    • Constructor Detail

      • CmapSubtable

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

      • equals

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

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