2005/5/9

     
 

class TAbstractListSubList

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

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

#include <TAbstractListSubList.h>

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

acdk::util::TAbstractList< T > acdk::util::TAbstractCollection< T > acdk::util::TList< T > acdk::lang::Object acdk::util::TCollection< T > acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

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

API: Java<br/>.

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.6
Date:
Date
2005/04/09 19:26:57


Public Types

typedef T RValueType
typedef TAbstractListSubList<
RValueType
AbstractListSubListType
typedef RefHolder< AbstractListSubListTypeRAbstractListSubListType
typedef RAbstractListSubListType RefType
typedef TAbstractList< RValueTypeAbstractListType
typedef AbstractListType::RefType RAbstractListType
typedef AbstractListType::RCollectionType RCollectionType
typedef AbstractListType::RListIteratorType RListIteratorType
typedef TAbstractListSubListListIterator<
RValueType
AbstractListSubListListIteratorType
typedef AbstractListSubListListIteratorType::RefType RAbstractListSubListListIteratorType

Public Member Functions

 TAbstractListSubList (IN(RAbstractListType) list, int fromIndex, int toIndex)
virtual int size ()
 return the number of elements in this collection

RListIteratorType listIterator (int index=0)
virtual RValueType set (int index, IN(RValueType) o)
virtual RValueType get (int index)
virtual void add (int index, IN(RValueType) o)
virtual RValueType remove (int index)
virtual void removeRange (int fromIndex2, int toIndex2)
virtual bool addAll (int index, IN(RCollectionType) c)

Private Member Functions

void _checkMod ()
void _checkBoundsInclusive (int index)
void _checkBoundsExclusive (int index)

Private Attributes

int _offset
int _size
int _modCount
RAbstractListType _list

Friends

class TAbstractListSubListListIterator< T >


Member Typedef Documentation

template<class T>
typedef TAbstractListSubListListIterator<RValueType> acdk::util::TAbstractListSubList< T >::AbstractListSubListListIteratorType
 

template<class T>
typedef TAbstractListSubList<RValueType> acdk::util::TAbstractListSubList< T >::AbstractListSubListType
 

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

template<class T>
typedef TAbstractList<RValueType> acdk::util::TAbstractListSubList< T >::AbstractListType
 

template<class T>
typedef AbstractListSubListListIteratorType::RefType acdk::util::TAbstractListSubList< T >::RAbstractListSubListListIteratorType
 

template<class T>
typedef RefHolder<AbstractListSubListType> acdk::util::TAbstractListSubList< T >::RAbstractListSubListType
 

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

template<class T>
typedef AbstractListType::RefType acdk::util::TAbstractListSubList< T >::RAbstractListType
 

template<class T>
typedef AbstractListType::RCollectionType acdk::util::TAbstractListSubList< T >::RCollectionType
 

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

template<class T>
typedef RAbstractListSubListType acdk::util::TAbstractListSubList< T >::RefType
 

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

template<class T>
typedef AbstractListType::RListIteratorType acdk::util::TAbstractListSubList< T >::RListIteratorType
 

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

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

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


Constructor & Destructor Documentation

template<class T>
acdk::util::TAbstractListSubList< T >::TAbstractListSubList IN(RAbstractListType list,
int  fromIndex,
int  toIndex
[inline]
 


Member Function Documentation

template<class T>
void acdk::util::TAbstractListSubList< T >::_checkBoundsExclusive int  index  )  [inline, private]
 

template<class T>
void acdk::util::TAbstractListSubList< T >::_checkBoundsInclusive int  index  )  [inline, private]
 

template<class T>
void acdk::util::TAbstractListSubList< T >::_checkMod  )  [inline, private]
 

template<class T>
virtual void acdk::util::TAbstractListSubList< T >::add int  index,
IN(RValueType o
[inline, virtual]
 

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

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

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

template<class T>
virtual RValueType acdk::util::TAbstractListSubList< T >::get int  index  )  [inline, virtual]
 

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

template<class T>
RListIteratorType acdk::util::TAbstractListSubList< T >::listIterator int  index = 0  )  [inline, virtual]
 

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

template<class T>
virtual RValueType acdk::util::TAbstractListSubList< T >::remove int  index  )  [inline, virtual]
 

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

template<class T>
virtual void acdk::util::TAbstractListSubList< T >::removeRange int  fromIndex2,
int  toIndex2
[inline, virtual]
 

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

template<class T>
virtual RValueType acdk::util::TAbstractListSubList< T >::set int  index,
IN(RValueType o
[inline, virtual]
 

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

template<class T>
virtual int acdk::util::TAbstractListSubList< T >::size  )  [inline, virtual]
 

return the number of elements in this collection

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


Friends And Related Function Documentation

template<class T>
friend class TAbstractListSubListListIterator< T > [friend]
 


Member Data Documentation

template<class T>
RAbstractListType acdk::util::TAbstractListSubList< T >::_list [private]
 

template<class T>
int acdk::util::TAbstractListSubList< T >::_modCount [private]
 

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

template<class T>
int acdk::util::TAbstractListSubList< T >::_offset [private]
 

template<class T>
int acdk::util::TAbstractListSubList< T >::_size [private]