2005/5/9

     
 

class TSet

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

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

#include <TSet.h>

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

acdk::util::TAbstractSet< T > List of all members.

Detailed Description

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

A set is a collection with values, where each value can have only element in the set.

See also:
Java: http://java.sun.com/j2se/1.3/docs/api/java/util/Set.html
Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.9
Date:
Date
2005/02/05 10:45:06


Public Types

typedef T RValueType
typedef TSet< RValueTypeThisCollectionType
typedef InterfaceHolder< ThisCollectionTypeRThisCollectionType
typedef RThisCollectionType RefType
typedef ThisCollectionType SetType
typedef RThisCollectionType RSetType
typedef TIterator< RValueTypeIteratorType
typedef IteratorType::RefType RIteratorType
typedef RObjectArrayImpl<
RValueType
RValueArrayType
 does not work with T != ObjectType

typedef TCollection< RValueTypeCollectionType
typedef CollectionType::RefType RCollectionType

Public Member Functions

virtual bool add (IN(RValueType) o)=0
virtual bool addAll (IN(RCollectionType) c)=0
virtual void clear ()=0
virtual bool contains (IN(RValueType) o)=0
virtual bool containsAll (IN(RCollectionType) c)=0
virtual bool equals (IN(acdk::lang::Object) o)=0
virtual int hashCode ()=0
virtual bool isEmpty ()=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 int size ()=0
virtual RValueArrayType toArray ()=0
virtual RValueArrayType toArray (IN(RValueArrayType) array)=0


Member Typedef Documentation

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

Reimplemented in acdk::util::TAbstractSet< T >, acdk::util::THashMapEntriesSet< K, V >, acdk::util::THashMapKeySet< K, V >, acdk::util::TTreeMapKeySet< K, V >, acdk::util::TTreeMapValueSet< K, V >, acdk::util::TTreeMapEntrySet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

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

Reimplemented in acdk::util::TAbstractMapCachedKeySet< K, V >, acdk::util::TAbstractSet< T >, acdk::util::THashMapEntriesSet< K, V >, acdk::util::THashMapKeySet< K, V >, acdk::util::THashSet< K >, acdk::util::TTreeMapKeySet< K, V >, acdk::util::TTreeMapValueSet< K, V >, acdk::util::TTreeMapEntrySet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

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

Reimplemented in acdk::util::TAbstractSet< T >, acdk::util::THashMapEntriesSet< K, V >, acdk::util::THashMapKeySet< K, V >, acdk::util::TTreeMapKeySet< K, V >, acdk::util::TTreeMapValueSet< K, V >, acdk::util::TTreeMapEntrySet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

template<class T>
typedef RThisCollectionType acdk::util::TSet< T >::RefType
 

Reimplemented in acdk::util::TAbstractSet< T >, acdk::util::THashMapEntriesSet< K, V >, acdk::util::THashMapKeySet< K, V >, acdk::util::THashSet< K >, acdk::util::TTreeMapKeySet< K, V >, acdk::util::TTreeMapValueSet< K, V >, acdk::util::TTreeMapEntrySet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

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

Reimplemented in acdk::util::TAbstractMapCachedKeySet< K, V >, acdk::util::TAbstractSet< T >, acdk::util::THashMapEntriesSet< K, V >, acdk::util::THashMapKeySet< K, V >, acdk::util::THashSet< K >, acdk::util::TTreeMapKeySet< K, V >, acdk::util::TTreeMapValueSet< K, V >, acdk::util::TTreeMapEntrySet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

template<class T>
typedef RThisCollectionType acdk::util::TSet< T >::RSetType
 

Reimplemented in acdk::util::TAbstractSet< T >, acdk::util::TTreeMapKeySet< K, V >, acdk::util::TTreeMapValueSet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

template<class T>
typedef InterfaceHolder<ThisCollectionType > acdk::util::TSet< T >::RThisCollectionType
 

Reimplemented in acdk::util::TAbstractSet< T >, acdk::util::THashMapEntriesSet< K, V >, acdk::util::THashMapKeySet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

template<class T>
typedef RObjectArrayImpl<RValueType> acdk::util::TSet< T >::RValueArrayType
 

does not work with T != ObjectType

Reimplemented in acdk::util::TAbstractSet< T >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

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

Reimplemented in acdk::util::TAbstractMapCachedKeySet< K, V >, acdk::util::TAbstractSet< T >, acdk::util::THashMapEntriesSet< K, V >, acdk::util::THashMapKeySet< K, V >, acdk::util::THashSet< K >, acdk::util::TTreeMapKeySet< K, V >, acdk::util::TTreeMapValueSet< K, V >, acdk::util::TTreeMapEntrySet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

template<class T>
typedef ThisCollectionType acdk::util::TSet< T >::SetType
 

Reimplemented in acdk::util::TAbstractSet< T >, acdk::util::TTreeMapKeySet< K, V >, acdk::util::TTreeMapValueSet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

template<class T>
typedef TSet<RValueType> acdk::util::TSet< T >::ThisCollectionType
 

Reimplemented in acdk::util::TAbstractSet< T >, acdk::util::THashMapEntriesSet< K, V >, acdk::util::THashMapKeySet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.


Member Function Documentation

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

Implemented in acdk::util::TAbstractSet< T >, acdk::util::THashMapEntriesSet< K, V >, acdk::util::THashSet< K >, acdk::util::TTreeMapValueSet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

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

Implemented in acdk::util::TAbstractSet< T >, acdk::util::THashMapEntriesSet< K, V >, acdk::util::THashMapKeySet< K, V >, acdk::util::TTreeMapKeySet< K, V >, acdk::util::TTreeMapValueSet< K, V >, acdk::util::TTreeMapEntrySet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

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

Implemented in acdk::util::TAbstractSet< T >, acdk::util::THashMapEntriesSet< K, V >, acdk::util::THashMapKeySet< K, V >, acdk::util::THashSet< K >, acdk::util::TTreeMapKeySet< K, V >, acdk::util::TTreeMapValueSet< K, V >, acdk::util::TTreeMapEntrySet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

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

Implemented in acdk::util::TAbstractSet< T >, acdk::util::THashMapEntriesSet< K, V >, acdk::util::THashSet< K >, acdk::util::TTreeMapValueSet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

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

Implemented in acdk::util::TAbstractSet< T >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

template<class T>
virtual bool acdk::util::TSet< T >::equals IN(acdk::lang::Object o  )  [pure virtual]
 

Implemented in acdk::util::TAbstractSet< T >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

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

Implemented in acdk::util::TAbstractSet< T >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

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

Implemented in acdk::util::TAbstractMapCachedKeySet< K, V >, acdk::util::TAbstractSet< T >, acdk::util::THashMapEntriesSet< K, V >, acdk::util::THashMapKeySet< K, V >, acdk::util::THashSet< K >, acdk::util::TTreeMapKeySet< K, V >, acdk::util::TTreeMapValueSet< K, V >, acdk::util::TTreeMapEntrySet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

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

Implemented in acdk::util::TAbstractMapCachedKeySet< K, V >, acdk::util::TAbstractSet< T >, acdk::util::THashMapEntriesSet< K, V >, acdk::util::THashMapKeySet< K, V >, acdk::util::THashSet< K >, acdk::util::TTreeMapKeySet< K, V >, acdk::util::TTreeMapValueSet< K, V >, acdk::util::TTreeMapEntrySet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

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

Implemented in acdk::util::TAbstractSet< T >, acdk::util::THashMapEntriesSet< K, V >, acdk::util::THashSet< K >, acdk::util::TTreeMapValueSet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

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

Implemented in acdk::util::TAbstractSet< T >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

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

Implemented in acdk::util::TAbstractSet< T >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

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

Implemented in acdk::util::TAbstractMapCachedKeySet< K, V >, acdk::util::TAbstractSet< T >, acdk::util::THashMapEntriesSet< K, V >, acdk::util::THashMapKeySet< K, V >, acdk::util::THashSet< K >, acdk::util::TTreeMapKeySet< K, V >, acdk::util::TTreeMapValueSet< K, V >, acdk::util::TTreeMapEntrySet< K, V >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

template<class T>
virtual RValueArrayType acdk::util::TSet< T >::toArray IN(RValueArrayType array  )  [pure virtual]
 

Implemented in acdk::util::TAbstractSet< T >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.

template<class T>
virtual RValueArrayType acdk::util::TSet< T >::toArray  )  [pure virtual]
 

Implemented in acdk::util::TAbstractSet< T >, acdk::util::TAbstractSet< V >, acdk::util::TAbstractSet< InterfaceHolder< TMapEntry< K, V > > >, acdk::util::TAbstractSet< TMapEntry< K, V >::RefType >, and acdk::util::TAbstractSet< K >.