PdfObjectKey

Overview

PdfObjectKey is a class in Aspose.PDF FOSS for Java. Inherits from: Comparable<PdfObjectKey>.

Key identifying an indirect PDF object by its object number and generation number.

This class provides 7 methods for working with PdfObjectKey objects in Java programs. Available methods include: PdfObjectKey, compareTo, equals, getGenerationNumber, getObjectNumber, hashCode, toString. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: generationNumber, objectNumber.

Properties

NameTypeAccessDescription
objectNumberintReadReturns the object number.
generationNumberintReadReturns the generation number.

Methods

SignatureDescription
PdfObjectKey(objectNumber: int, generationNumber: int)Creates a new indirect object key.
getObjectNumber()intReturns the object number.
getGenerationNumber()intReturns the generation number.
equals(o: Object)boolean
hashCode()int
compareTo(other: PdfObjectKey)int
toString()String

See Also