Home » pdfbox-1.1.0-src » org.apache.pdfbox.persistence.util » [javadoc | source]
org.apache.pdfbox.persistence.util
public class: COSObjectKey [javadoc | source]
java.lang.Object
   org.apache.pdfbox.persistence.util.COSObjectKey
Object representing the physical reference to an indirect pdf object.
Constructor:
 public COSObjectKey(COSObject object) 
    PDFObjectKey constructor comment.
    Parameters:
    object - The object that this key will represent.
 public COSObjectKey(long num,
    long gen) 
Method from org.apache.pdfbox.persistence.util.COSObjectKey Summary:
equals,   getGeneration,   getNumber,   hashCode,   setGeneration,   setNumber,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.persistence.util.COSObjectKey Detail:
 public boolean equals(Object obj) 
    {@inheritDoc}
 public long getGeneration() 
    This will get the generation number.
 public long getNumber() 
    This will get the objects id.
 public int hashCode() 
    {@inheritDoc}
 public  void setGeneration(long newGeneration) 
    This will set the objects generation number.
 public  void setNumber(long newNumber) 
    This will set the objects id.
 public String toString() 
    {@inheritDoc}