Method Summary |
|
public java.lang.Object | accept(ICOSObjectVisitor visitor) |
public COSArray | add(COSObject object) Add a
COSObject to the collection. |
public COSArray | add(int index, COSObject object) Add a
COSObject to the collection. |
public COSArray | asArray() |
protected COSArray | basicAddPropagate(int index, COSDocumentElement element) add a document element (an object or a reference) to the collection. |
protected COSArray | basicAddPropagate(COSDocumentElement element) Add a document element (an object or a reference) to the collection. |
public COSArray | basicAddSilent(COSDocumentElement element) Add a document element (an object or a reference) to the collection.
The change is not propagated.
This should not be used by the application level programmer. |
protected void | basicClearPropagate() Remove all elements from the receiver. |
public COSDocumentElement | basicGet(int index) Get the
COSDocumentElement (an object or a reference) from this
at the specified index. |
protected int | basicIndexOf(COSDocumentElement element) The index within this where element can be found or -1.
Parameters: element - The element to be searched within this. |
public Iterator | basicIterator() An iterator that returns all contained
COSDocumentElement instances without dereferencing. |
protected boolean | basicRemovePropagate(COSDocumentElement otherElement) Remove otherElement from this.
Parameters: otherElement - The element to be removed. |
protected COSDocumentElement | basicRemovePropagate(int index) Remove element at index .
Parameters: index - The index within this to be removed. |
protected COSDocumentElement | basicSetPropagate(int i, COSDocumentElement element) replace the object at index <i with element . |
protected String | basicToString() |
public void | clear() Remove all elements from this. |
protected COSObject | copyBasic() |
public COSObject | copyDeep(Map copied) |
public COSObject | copyShallow() |
protected COSObject | copySubGraph(Map copied) |
public static COSArray | create() Create an empty
COSArray . |
public static COSArray | create(int size) Create an empty
COSArray with a preallocated size. |
public static COSArray | createWith(float a, float b, float c, float d) |
public static COSArray | createWith(float a, float b, float c, float d, float e, float f) |
public boolean | equals(Object o) |
protected boolean | equals(Object o, Set visited) |
public COSObject | get(int index) The
COSObject at the given index. |
public List | getObjects() A copy of all COSObject's in this. |
public int | hashCode() |
public int | indexOf(COSObject object) The index of object within this or -1 if not found.
Parameters: object - The object to be searched within this. |
public boolean | isEmpty() true if this.size() == 0 . |
public java.util.Iterator | iterator() |
public COSIndirectObject | referenceIndirect(COSObject object) |
public boolean | remove(COSObject object) Remove object from this. |
public COSObject | remove(int index) Remove the object at index from the collection.
Parameters: index - The index of the object to remove from the collection. |
public void | restoreState(Object object) |
public Object | saveState() |
public COSObject | set(int i, COSObject object) Replace the object at index i with object . |
public int | size() The number of elements in this. |
protected void | triggerChanged(int slot, COSObject oldValue, COSObject newValue) |