public class COSObjectKey extends Object implements Comparable<COSObjectKey>
| Constructor and Description |
|---|
COSObjectKey(COSObject object)
PDFObjectKey constructor comment.
|
COSObjectKey(long num,
int gen)
PDFObjectKey constructor comment.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(COSObjectKey other) |
boolean |
equals(Object obj) |
void |
fixGeneration(int genNumber)
This will set the generation number.
|
int |
getGeneration()
This will get the generation number.
|
long |
getNumber()
This will get the objects id.
|
int |
hashCode() |
String |
toString() |
public COSObjectKey(COSObject object)
object - The object that this key will represent.public COSObjectKey(long num,
int gen)
num - The object number.gen - The object generation number.public int getGeneration()
public void fixGeneration(int genNumber)
genNumber - the new generation number.public long getNumber()
public int compareTo(COSObjectKey other)
compareTo in interface Comparable<COSObjectKey>Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.