|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pdfbox.persistence.util.COSObjectKey
public class COSObjectKey
Object representing the physical reference to an indirect pdf object.
| Constructor Summary | |
|---|---|
COSObjectKey(COSObject object)
PDFObjectKey constructor comment. |
|
COSObjectKey(long num,
long gen)
PDFObjectKey constructor comment. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
long |
getGeneration()
This will get the generation number. |
long |
getNumber()
This will get the objects id. |
int |
hashCode()
|
void |
setGeneration(long newGeneration)
This will set the objects generation number. |
void |
setNumber(long newNumber)
This will set the objects id. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public COSObjectKey(COSObject object)
object - The object that this key will represent.
public COSObjectKey(long num,
long gen)
num - The object number.gen - The object generation number.| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic long getGeneration()
public long getNumber()
public int hashCode()
hashCode in class java.lang.Objectpublic void setGeneration(long newGeneration)
newGeneration - The objects generation number.public void setNumber(long newNumber)
newNumber - The objects number.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||