|
Public Types |
typedef T | RValueType |
typedef T | RElementType |
typedef RElementType::Type | ElementType |
typedef TArrayList< RValueType > | ThisType |
typedef RefHolder< ThisType > | RThisType |
typedef ThisType | ArrayListType |
typedef RThisType | RArrayListType |
typedef RThisType | RefType |
typedef TCollection< RValueType > | CollectionType |
typedef CollectionType::RefType | RCollectionType |
typedef TIterator< RValueType > | IteratorType |
typedef IteratorType::RefType | RIteratorType |
typedef TListIterator< RValueType > | ListIteratorType |
typedef ListIteratorType::RefType | RListIteratorType |
typedef TAbstractList< RValueType > | AbstractListType |
typedef AbstractListType::RefType | RAbstractListType |
typedef ObjectArrayImpl< RValueType > | ValueTypeArrayType |
typedef RObjectArrayImpl<
RValueType > | RValueTypeArrayType |
Public Member Functions |
| TArrayList (int capacity=ArrayList::DEFAULT_CAPACITY) |
| TArrayList (IN(RCollectionType) other) |
virtual void | ensureCapacity (int mincap) |
virtual bool | add (IN(RValueType) o) |
virtual bool | containsAll (IN(RCollectionType) c) |
| reimplemented from Collection
|
RValueType | get (int index) |
int | size () |
| return the number of elements in this collection
|
bool | isEmpty () |
| reimplemented from Collection
|
RValueType | remove (int index) |
bool | removeAll (IN(RCollectionType) c) |
| reimplemented from Collection
|
bool | retainAll (IN(RCollectionType) c) |
| reimplemented from Collection
|
bool | remove (IN(RValueType) o) |
| reimplemented from Collection
|
void | removeRange (int fromIndex, int toIndex) |
void | add (int index, IN(RValueType) obj) |
bool | addAll (IN(RCollectionType) coll) |
| reimplemented from Collection
|
bool | addAll (int index, IN(RCollectionType) coll) |
acdk::lang::Object | clone () |
acdk::lang::Object | clone (sys::Allocator *alc) |
bool | contains (IN(RValueType) obj) |
| reimplemented from Collection
|
int | indexOf (IN(RValueType) obj) |
int | lastIndexOf (IN(RValueType) obj) |
RListIteratorType | listIterator (int index=0) |
void | clear () |
| reimplemented from Collection
|
RValueType | set (int index, IN(RValueType) obj) |
RValueTypeArrayType | toArray () |
| reimplemented from Collection
|
RValueTypeArrayType | toArray (IN(RValueTypeArrayType) oarray) |
void | trimToSize () |
Static Public Member Functions |
acdk::lang::Object | create_instance () |
Protected Attributes |
int | _size |
RValueTypeArrayType | _data |
Static Private Member Functions |
bool | _isEqual (IN(RValueType) o1, IN(RValueType) o2) |