|
Public Member Functions |
| Vector (int initcapac=10, int capacInc=0) |
| Vector (IN(RCollection) col) |
virtual | ~Vector () |
virtual void | ensureCapacity (int minCapacity) |
virtual void | setSize (int newSize) |
virtual int | capacity () |
virtual int | size () |
virtual bool | isEmpty () |
| reimplemented from Collection
|
virtual int | indexOf (IN(acdk::lang::Object) object, int index) |
virtual int | indexOf (IN(acdk::lang::Object) o) |
virtual bool | contains (IN(acdk::lang::Object) object) |
| reimplemented from Collection
|
virtual int | lastIndexOf (IN(acdk::lang::Object) o) |
virtual int | lastIndexOf (IN(acdk::lang::Object) object, int index) |
virtual acdk::lang::Object | elementAt (int index) |
virtual acdk::lang::Object | firstElement () |
virtual acdk::lang::Object | lastElement () |
virtual void | setElementAt (IN(acdk::lang::Object) obj, int index) throw ( RArrayIndexOutOfBoundsException ) |
virtual acdk::lang::Object | set (int index, IN(acdk::lang::Object) obj) throw ( RArrayIndexOutOfBoundsException ) |
virtual void | removeElementAt (int index) throw ( RArrayIndexOutOfBoundsException ) |
virtual void | insertElementAt (IN(acdk::lang::Object) obj, int index) throw ( RArrayIndexOutOfBoundsException ) |
virtual void | addElement (IN(acdk::lang::Object) obj) |
virtual bool | removeElement (IN(acdk::lang::Object) obj) |
virtual void | removeAllElements () |
virtual acdk::lang::Object | clone () |
virtual acdk::lang::Object | clone (acdk::lang::sys::Allocator *alloc) |
virtual RObjectArray | toArray () |
| reimplemented from Collection
|
virtual RObjectArray | toArray (IN(RObjectArray) a) |
| reimplemented from Collection
|
virtual acdk::lang::Object | get (int index) |
virtual bool | remove (IN(acdk::lang::Object) o) |
| reimplemented from Collection
|
virtual bool | add (IN(acdk::lang::Object) o) |
| reimplemented from Collection
|
virtual void | add (int index, IN(acdk::lang::Object) element) |
virtual acdk::lang::Object | remove (int index) |
virtual void | clear () |
| reimplemented from Collection
|
virtual bool | containsAll (IN(RCollection) coll) |
| reimplemented from Collection
|
virtual bool | addAll (IN(RCollection) coll) |
| reimplemented from Collection
|
virtual bool | addAll (int index, IN(RCollection) coll) |
virtual bool | removeAll (IN(RCollection) coll) |
| reimplemented from Collection
|
virtual bool | retainAll (IN(RCollection) c) |
| reimplemented from Collection
|
virtual RString | toString () |
| return a string representation of this object Object::toString() return getName() by default
|
void | trimToSize () |
void | copyInto (IN(RObjectArray) array) |
Static Public Member Functions |
acdk::lang::Object | create_instance () |
Protected Attributes |
int | _elementCount |
int | _capacityIncrement |
int | _modCount |
RObjectArray | _elementData |