org.pdfbox.persistence.util
Class COSObjectKey
java.lang.Object
org.pdfbox.persistence.util.COSObjectKey
public class COSObjectKey
extends java.lang.Object
Object representing the physical reference to an indirect pdf object.
COSObjectKey
public COSObjectKey(long num,
long gen)
PDFObjectKey constructor comment.
num
- The object number.gen
- The object generation number.
COSObjectKey
public COSObjectKey(COSObject object)
PDFObjectKey constructor comment.
object
- The object that this key will represent.
equals
public boolean equals(Object obj)
getGeneration
public long getGeneration()
This will get the generation number.
- The objects generation number.
getNumber
public long getNumber()
This will get the objects id.
hashCode
public int hashCode()
setGeneration
public void setGeneration(long newGeneration)
This will set the objects generation number.
newGeneration
- The objects generation number.
setNumber
public void setNumber(long newNumber)
This will set the objects id.
newNumber
- The objects number.
toString
public String toString()