|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.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 | |
---|---|
int |
compareTo(COSObjectKey other)
|
boolean |
equals(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. |
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(Object obj)
equals
in class Object
public long getGeneration()
public long getNumber()
public int hashCode()
hashCode
in class Object
public void setGeneration(long newGeneration)
newGeneration
- The objects generation number.public void setNumber(long newNumber)
newNumber
- The objects number.public String toString()
toString
in class Object
public int compareTo(COSObjectKey other)
compareTo
in interface Comparable<COSObjectKey>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |