Class COSObjectKey

    • Constructor Detail

      • COSObjectKey

        public COSObjectKey​(COSObject object)
        PDFObjectKey constructor comment.
        Parameters:
        object - The object that this key will represent.
      • COSObjectKey

        public COSObjectKey​(long num,
                            int gen)
        PDFObjectKey constructor comment.
        Parameters:
        num - The object number.
        gen - The object generation number.
    • Method Detail

      • getGeneration

        public int getGeneration()
        This will get the generation number.
        Returns:
        The objects generation number.
      • getNumber

        public long getNumber()
        This will get the objects id.
        Returns:
        The object's id.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object