Method Summary |
|
public java.lang.Object | accept(ICOSObjectVisitor visitor) |
public void | addAll(COSDictionary dict) Add all objects from dict . |
public void | addIfAbsent(COSDictionary dict) Add all values from dict that are not yet defined in the
receiver. |
public COSDictionary | asDictionary() |
protected void | basicClearPropagate() Remove all associations from this. |
public Iterator | basicEntryIterator() An iterator over all entries. |
public COSDocumentElement | basicGet(COSName key) The
COSDocumentElement associated with key . |
public Iterator | basicIterator() An iterator over all values. |
protected COSDocumentElement | basicPutPropagate(COSName key, COSDocumentElement element) Add a
COSDocumentElement to the collection.
Parameters: key - The key where to store the new element. Parameters: element - The COSDocumentElement to store. |
public COSDocumentElement | basicPutSilent(COSName key, COSDocumentElement element) Add a document element to the collection.
The element is inserted without change propagation.
This should not be used by the application level programmer. |
protected COSDocumentElement | basicRemovePropagate(COSName key) Remove the element associated with key from the collection . |
protected String | basicToString() |
public void | clear() Remove all associations from the receiver. |
public boolean | containsKey(COSName key) Answer true if key is a valid key in the collection .
Parameters: key - The key whose existence is to be checked. |
public boolean | containsValue(COSObject obj) |
protected COSObject | copyBasic() |
public COSObject | copyDeep(Map copied) |
public COSObject | copyShallow() |
protected COSObject | copySubGraph(Map copied) |
public static COSDictionary | create() Create an empty
COSDictionary . |
public static COSDictionary | create(int size) Create an empty
COSDictionary with an initial capacity. |
public Iterator | entryIterator() An iterator over all entries, returning dereferenced entries (
COSObject ). |
public COSObject | get(COSName key) The
COSObject associated with key . |
protected Map | getObjects() |
public java.util.Iterator | iterator() |
public COSObject | keyOf(COSObject obj) The key of obj when it is contained in this or
COSNull . |
public Set | keySet() The set of keys. |
public COSObject | put(COSName key, COSObject object) Add an association to the collection. |
public COSIndirectObject | referenceIndirect(COSObject object) |
public COSObject | remove(COSName key) Remove the element from the collection associated with key . |
public void | restoreState(Object object) |
public Object | saveState() |
public int | size() The number of elements in this. |
public List | values() A list of
COSObject instances within this. |