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) |
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 long getNumber()
public int compareTo(COSObjectKey other)
compareTo
in interface Comparable<COSObjectKey>
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.