Class PageId


  • public final class PageId
    extends Object
    TODO: Write java doc.
    • Constructor Detail

      • PageId

        public PageId​(int ordinal,
                      int globalStartIndex,
                      SequenceId sequenceId)
        Parameters:
        ordinal - Numbering of the current page.
        globalStartIndex - Start index of the sequence that contains this page: the number of pages that the whole body (all sequences), or the pre- or post-content of the current volume, already contains.
        sequenceId - Index of the page in current sequence.
    • Method Detail

      • getOrdinal

        public int getOrdinal()
        0-based index of this page in the current sequence.
        Returns:
        Index of the page in current sequence.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object