public class NumberTree
extends java.lang.Object
A number tree uses keys that are integers to map to data objects, sorted in ascending numerical order.
| Constructor and Description |
|---|
NumberTree(Document doc) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
boolean |
equals(java.lang.Object rhs) |
PDFObject |
get(int key)
Retrieves an entry from this NumberTree.
|
PDFDict |
getPDFDict()
Return the PDFDict of this NumberTree.
|
void |
put(int key,
PDFObject value)
Puts a new entry in this NumberTree.
|
void |
remove(int key)
Removes the specified PDFObject from this NumberTree.
|
public NumberTree(Document doc)
public void delete()
public boolean equals(java.lang.Object rhs)
equals in class java.lang.Objectpublic PDFObject get(int key)
key - The integer of the PDFObject to get from the tree.public void put(int key,
PDFObject value)
key - The integer of the PDFObject to put in the tree.value - The PDFObject to be associated with key.public PDFDict getPDFDict()
public void remove(int key)
key - The integer of the PDFObject to remove from the tree.