|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.icepdf.core.pobjects.Reference
public class Reference
The Reference class represents a PDF object reference number.
A reference is made of two components:
| Constructor Summary | |
|---|---|
Reference(int o,
int g)
Creates a new instance of a Reference. |
|
Reference(java.lang.Number o,
java.lang.Number g)
Creates a new instance of a Reference. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other reference object is "equal to" this one. |
int |
getGenerationNumber()
Gets the generation number represented by this reference. |
int |
getObjectNumber()
Gets the object number represented by this reference. |
int |
hashCode()
Creates a unique hash code for this reference object. |
java.lang.String |
toString()
Gets a string summary of the reference objects number and generation number. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Reference(java.lang.Number o,
java.lang.Number g)
o - object numberg - generation number
public Reference(int o,
int g)
o - object numberg - generation number| Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - reference object to compare to this reference.
public int getObjectNumber()
public int getGenerationNumber()
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 | ||||||||