2005/5/9

     
 

class TList

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::util::TList< T > Class Template Reference

#include <TList.h>

Inheritance diagram for acdk::util::TList< T >:

acdk::util::TCollection< T > acdk::util::TAbstractList< T > acdk::util::TAbstractListSubList< T > acdk::util::TArrayList< T > List of all members.

Detailed Description

template<class T>
class acdk::util::TList< T >

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.5
Date:
Date
2005/02/05 10:45:06


Public Types

typedef T RValueType
typedef TList< RValueTypeThisType
typedef InterfaceHolder< ThisTypeRThisType
typedef RThisType RefType
typedef TCollection< RValueTypeCollectionType
typedef CollectionType::RefType RCollectionType
typedef RValueType RElementType
typedef TCollection< T > ThisCollectionType
typedef InterfaceHolder< TCollection<
T > > 
RThisCollectionType
typedef TIterator< RValueTypeIteratorType
typedef IteratorType::RefType RIteratorType
typedef TListIterator< RValueTypeListIteratorType
typedef ListIteratorType::RefType RListIteratorType
typedef ObjectArrayImpl< RValueTypeValueTypeArray
typedef RObjectArrayImpl<
RValueType
RValueTypeArray

Public Member Functions

overwrite bool add (IN(RValueType) o)=0
overwrite bool addAll (IN(RCollectionType) c)=0
overwrite void clear ()=0
 remove all elements from this collection

overwrite int size ()=0
 return the number of elements in this collection

overwrite bool isEmpty ()=0
 return true if this collection doesn't contains any elements

overwrite bool contains (IN(RValueType) o)=0
overwrite bool containsAll (IN(RCollectionType) c)=0
overwrite RIteratorType iterator ()=0
overwrite bool remove (IN(RValueType) o)=0
overwrite bool removeAll (IN(RCollectionType) c)=0
overwrite bool retainAll (IN(RCollectionType) c)=0
overwrite bool equals (IN(acdk::lang::Object) c)=0
overwrite int hashCode ()=0
overwrite RValueTypeArray toArray ()=0
overwrite RValueTypeArray toArray (IN(RValueTypeArray) array)=0
virtual void add (int index, IN(RValueType) element)=0
virtual bool addAll (int index, IN(RCollectionType) c)=0
virtual RValueType get (int index)=0
virtual int indexOf (IN(RValueType) o)=0
virtual int lastIndexOf (IN(RValueType) o)=0
virtual RListIteratorType listIterator (int index=0)=0
virtual RValueType remove (int index)=0
virtual RValueType set (int index, IN(RValueType) element)=0
virtual RThisType subList (int fromIndex, int toIndex)=0


Member Typedef Documentation

template<class T>
typedef TCollection<RValueType> acdk::util::TList< T >::CollectionType
 

Reimplemented from acdk::util::TCollection< T >.

Reimplemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
typedef TIterator<RValueType> acdk::util::TList< T >::IteratorType
 

Reimplemented from acdk::util::TCollection< T >.

Reimplemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
typedef TListIterator<RValueType> acdk::util::TList< T >::ListIteratorType
 

Reimplemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
typedef CollectionType::RefType acdk::util::TList< T >::RCollectionType
 

Reimplemented from acdk::util::TCollection< T >.

Reimplemented in acdk::util::TAbstractList< T >, acdk::util::TAbstractListSubList< T >, and acdk::util::TArrayList< T >.

template<class T>
typedef RThisType acdk::util::TList< T >::RefType
 

Reimplemented from acdk::util::TCollection< T >.

Reimplemented in acdk::util::TAbstractList< T >, acdk::util::TAbstractListSubList< T >, and acdk::util::TArrayList< T >.

template<class T>
typedef RValueType acdk::util::TList< T >::RElementType
 

Reimplemented from acdk::util::TCollection< T >.

Reimplemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
typedef IteratorType::RefType acdk::util::TList< T >::RIteratorType
 

Reimplemented from acdk::util::TCollection< T >.

Reimplemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
typedef ListIteratorType::RefType acdk::util::TList< T >::RListIteratorType
 

Reimplemented in acdk::util::TAbstractList< T >, acdk::util::TAbstractListSubList< T >, and acdk::util::TArrayList< T >.

template<class T>
typedef InterfaceHolder<TCollection<T> > acdk::util::TList< T >::RThisCollectionType
 

Reimplemented in acdk::util::TAbstractList< T >.

template<class T>
typedef InterfaceHolder<ThisType> acdk::util::TList< T >::RThisType
 

Reimplemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
typedef T acdk::util::TList< T >::RValueType
 

Reimplemented from acdk::util::TCollection< T >.

Reimplemented in acdk::util::TAbstractList< T >, acdk::util::TAbstractListSubList< T >, and acdk::util::TArrayList< T >.

template<class T>
typedef RObjectArrayImpl<RValueType> acdk::util::TList< T >::RValueTypeArray
 

template<class T>
typedef TCollection<T> acdk::util::TList< T >::ThisCollectionType
 

Reimplemented in acdk::util::TAbstractList< T >.

template<class T>
typedef TList<RValueType> acdk::util::TList< T >::ThisType
 

Reimplemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
typedef ObjectArrayImpl<RValueType> acdk::util::TList< T >::ValueTypeArray
 


Member Function Documentation

template<class T>
virtual void acdk::util::TList< T >::add int  index,
IN(RValueType element
[pure virtual]
 

Implemented in acdk::util::TAbstractList< T >, acdk::util::TAbstractListSubList< T >, and acdk::util::TArrayList< T >.

template<class T>
overwrite bool acdk::util::TList< T >::add IN(RValueType o  )  [pure virtual]
 

Implemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
virtual bool acdk::util::TList< T >::addAll int  index,
IN(RCollectionType c
[pure virtual]
 

Implemented in acdk::util::TAbstractList< T >, acdk::util::TAbstractListSubList< T >, and acdk::util::TArrayList< T >.

template<class T>
overwrite bool acdk::util::TList< T >::addAll IN(RCollectionType c  )  [pure virtual]
 

Implemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
overwrite void acdk::util::TList< T >::clear  )  [pure virtual]
 

remove all elements from this collection

Implements acdk::util::TCollection< T >.

Implemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
overwrite bool acdk::util::TList< T >::contains IN(RValueType o  )  [pure virtual]
 

Implemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
overwrite bool acdk::util::TList< T >::containsAll IN(RCollectionType c  )  [pure virtual]
 

Implemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
overwrite bool acdk::util::TList< T >::equals IN(acdk::lang::Object c  )  [pure virtual]
 

Implements acdk::util::TCollection< T >.

Implemented in acdk::util::TAbstractList< T >.

template<class T>
virtual RValueType acdk::util::TList< T >::get int  index  )  [pure virtual]
 

Implemented in acdk::util::TAbstractList< T >, acdk::util::TAbstractListSubList< T >, and acdk::util::TArrayList< T >.

template<class T>
overwrite int acdk::util::TList< T >::hashCode  )  [pure virtual]
 

Implements acdk::util::TCollection< T >.

Implemented in acdk::util::TAbstractList< T >.

template<class T>
virtual int acdk::util::TList< T >::indexOf IN(RValueType o  )  [pure virtual]
 

Implemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
overwrite bool acdk::util::TList< T >::isEmpty  )  [pure virtual]
 

return true if this collection doesn't contains any elements

Implements acdk::util::TCollection< T >.

Implemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
overwrite RIteratorType acdk::util::TList< T >::iterator  )  [pure virtual]
 

Implements acdk::util::TCollection< T >.

Implemented in acdk::util::TAbstractList< T >.

template<class T>
virtual int acdk::util::TList< T >::lastIndexOf IN(RValueType o  )  [pure virtual]
 

Implemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
virtual RListIteratorType acdk::util::TList< T >::listIterator int  index = 0  )  [pure virtual]
 

Implemented in acdk::util::TAbstractList< T >, acdk::util::TAbstractListSubList< T >, and acdk::util::TArrayList< T >.

template<class T>
virtual RValueType acdk::util::TList< T >::remove int  index  )  [pure virtual]
 

Implemented in acdk::util::TAbstractList< T >, acdk::util::TAbstractListSubList< T >, and acdk::util::TArrayList< T >.

template<class T>
overwrite bool acdk::util::TList< T >::remove IN(RValueType o  )  [pure virtual]
 

Implements acdk::util::TCollection< T >.

Implemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
overwrite bool acdk::util::TList< T >::removeAll IN(RCollectionType c  )  [pure virtual]
 

Implements acdk::util::TCollection< T >.

Implemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
overwrite bool acdk::util::TList< T >::retainAll IN(RCollectionType c  )  [pure virtual]
 

Implements acdk::util::TCollection< T >.

Implemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.

template<class T>
virtual RValueType acdk::util::TList< T >::set int  index,
IN(RValueType element
[pure virtual]
 

Implemented in acdk::util::TAbstractList< T >, acdk::util::TAbstractListSubList< T >, and acdk::util::TArrayList< T >.

template<class T>
overwrite int acdk::util::TList< T >::size  )  [pure virtual]
 

return the number of elements in this collection

Implements acdk::util::TCollection< T >.

Implemented in acdk::util::TAbstractList< T >, acdk::util::TAbstractListSubList< T >, and acdk::util::TArrayList< T >.

template<class T>
virtual RThisType acdk::util::TList< T >::subList int  fromIndex,
int  toIndex
[pure virtual]
 

Implemented in acdk::util::TAbstractList< T >.

template<class T>
overwrite RValueTypeArray acdk::util::TList< T >::toArray IN(RValueTypeArray array  )  [pure virtual]
 

template<class T>
overwrite RValueTypeArray acdk::util::TList< T >::toArray  )  [pure virtual]
 

Implements acdk::util::TCollection< T >.

Implemented in acdk::util::TAbstractList< T >, and acdk::util::TArrayList< T >.