#include <TCollection.h>
Inheritance diagram for acdk::util::TCollection< T >:
Java: http://java.sun.com/j2se/1.3/docs/api/java/util/Collection.html
Public Types | |
typedef T | RValueType |
typedef T | RElementType |
typedef RElementType::Type | ElementType |
typedef TCollection< T > | CollectionType |
typedef InterfaceHolder< CollectionType > | RCollectionType |
typedef RCollectionType | RefType |
typedef TIterator< RValueType > | IteratorType |
typedef IteratorType::RefType | RIteratorType |
typedef RObjectArrayImpl< RValueType > | RValueArrayType |
Public Member Functions | |
virtual bool | add (INP(T) o)=0 |
Add an element to collection. | |
virtual bool | addAll (INP(RCollectionType) c)=0 |
add all elements of c to this collection | |
virtual void | clear ()=0 |
remove all elements from this collection | |
virtual int | size ()=0 |
return the number of elements in this collection | |
virtual bool | isEmpty ()=0 |
return true if this collection doesn't contains any elements | |
virtual bool | contains (INP(RValueType) o)=0 |
virtual bool | containsAll (INP(RCollectionType) c)=0 |
virtual RIteratorType | iterator ()=0 |
virtual bool | remove (IN(RValueType) o)=0 |
virtual bool | removeAll (IN(RCollectionType) c)=0 |
virtual bool | retainAll (IN(RCollectionType) c)=0 |
virtual bool | equals (IN(acdk::lang::Object) c)=0 |
virtual int | hashCode ()=0 |
virtual RValueArrayType | toArray ()=0 |
virtual RValueArrayType | toArray (INP(RValueArrayType) array)=0 |
|
|
Reimplemented in acdk::util::TArrayList< T >, and acdk::util::TTreeMapEntrySet< K, V >. |
|
|
|
|
|
|
|
|
Add an element to collection.
|
|
add all elements of c to this collection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|