Class TableOfContents.Section

    • Field Detail

      • type

        public final short type
      • size

        public int size
      • off

        public int off
      • byteCount

        public int byteCount
    • Constructor Detail

      • Section

        public Section​(int type)
    • Method Detail

      • exists

        public boolean exists()
      • compareTo

        public int compareTo​(TableOfContents.Section section)
        Description copied from interface: Comparable
        Compares this object to the specified object to determine their relative order.
        Specified by:
        compareTo in interface Comparable<TableOfContents.Section>
        Parameters:
        section - the object to compare to this instance.
        Returns:
        a negative integer if this instance is less than another; a positive integer if this instance is greater than another; 0 if this instance has the same order as another.
      • toString

        public String toString()
        Description copied from class: Object
        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.