artefaktur
software engineer &        architecture

 
 
 
 

class TSubTreeMap

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

acdk::util::TSubTreeMap< K, V > Class Template Reference

#include <TTreeMap.h>

Inheritance diagram for acdk::util::TSubTreeMap< K, V >:

acdk::util::TAbstractMap< K, V > acdk::util::TSortedMap< K, V > acdk::lang::Object acdk::util::TMap< K, V > acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

template<class K, class V>
class acdk::util::TSubTreeMap< K, V >

API: Java<br/>.

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


Public Types

typedef K RKeyType
typedef V RValueType
typedef TSubTreeMap< RKeyType,
RValueType
ThisType
typedef RefHolder< ThisTypeRThisType
typedef RThisType RefType
typedef TAbstractMap< RKeyType,
RValueType
AbstractMapType
typedef AbstractMapType::RefType RAbstractMapType
typedef ThisType SubTreeMapType
typedef SubTreeMapType::RefType RSubTreeMapType
typedef TMap< RKeyType, RValueTypeMapType
typedef MapType::RefType RMapType
typedef MapType::MapEntryType MapEntryType
typedef MapEntryType::RefType RMapEntryType
typedef TSortedMap< RKeyType,
RValueType
SortedMapType
typedef SortedMapType::RefType RSortedMapType
typedef MapType::MapEntrySetType MapEntrySetType
typedef MapEntrySetType::RefType RMapEntrySetType
typedef MapType::KeySetType KeySetType
typedef KeySetType::RefType RKeySetType
typedef TTreeMap< RKeyType,
RValueType
TreeMapType
typedef TreeMapType::RefType RTreeMapType
typedef TreeMapType::ValueCollectionType ValueCollectionType
typedef ValueCollectionType::RefType RValueCollectionType
typedef TTreeMapEntrySet<
RKeyType, RValueType
TreeMapEntrySetType
typedef TreeMapEntrySetType::RefType RTreeMapEntrySetType
typedef TreeMapType::RedBlackNodeType RedBlackNodeType
typedef RedBlackNodeType::RefType RRedBlackNodeType
typedef TComparator< RKeyTypeComparatorType
typedef ComparatorType::RefType RComparatorType

Public Member Functions

 TSubTreeMap (IN(RTreeMapType) map, IN(RKeyType) minKey, IN(RKeyType) maxKey)
virtual void clear ()
virtual bool containsKey (IN(RKeyType) key)
virtual bool containsValue (IN(RValueType) val)
virtual RValueType get (IN(RKeyType) key)
virtual RValueType put (IN(RKeyType) key, IN(RValueType) val)
virtual void putAll (IN(RMapType) map)
virtual RValueType remove (IN(RKeyType) key)
virtual int size ()
virtual RMapEntrySetType entrySet ()
virtual RKeySetType keySet ()
virtual RValueCollectionType values ()
virtual RComparatorType comparator ()
virtual RKeyType firstKey ()
virtual RKeyType lastKey ()
virtual RSortedMapType subMap (IN(RKeyType) from, IN(RKeyType) to)
virtual RSortedMapType headMap (IN(RKeyType) to)
virtual RSortedMapType tailMap (IN(RKeyType) from)
virtual bool equals (IN(acdk::lang::Object) other)
 Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

virtual int hashCode ()
virtual bool isEmpty ()
RTreeMapType parentTreeMap ()

Private Attributes

RTreeMapType _map
RKeyType _minKey
RKeyType _maxKey

Member Typedef Documentation

template<class K, class V>
typedef TAbstractMap<RKeyType, RValueType> acdk::util::TSubTreeMap< K, V >::AbstractMapType
 

template<class K, class V>
typedef TComparator<RKeyType> acdk::util::TSubTreeMap< K, V >::ComparatorType
 

Reimplemented from acdk::util::TSortedMap< K, V >.

template<class K, class V>
typedef MapType::KeySetType acdk::util::TSubTreeMap< K, V >::KeySetType
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
typedef MapType::MapEntrySetType acdk::util::TSubTreeMap< K, V >::MapEntrySetType
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
typedef MapType::MapEntryType acdk::util::TSubTreeMap< K, V >::MapEntryType
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
typedef TMap<RKeyType, RValueType> acdk::util::TSubTreeMap< K, V >::MapType
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
typedef AbstractMapType::RefType acdk::util::TSubTreeMap< K, V >::RAbstractMapType
 

template<class K, class V>
typedef ComparatorType::RefType acdk::util::TSubTreeMap< K, V >::RComparatorType
 

Reimplemented from acdk::util::TSortedMap< K, V >.

template<class K, class V>
typedef TreeMapType::RedBlackNodeType acdk::util::TSubTreeMap< K, V >::RedBlackNodeType
 

template<class K, class V>
typedef RThisType acdk::util::TSubTreeMap< K, V >::RefType
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
typedef KeySetType::RefType acdk::util::TSubTreeMap< K, V >::RKeySetType
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
typedef K acdk::util::TSubTreeMap< K, V >::RKeyType
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
typedef MapEntrySetType::RefType acdk::util::TSubTreeMap< K, V >::RMapEntrySetType
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
typedef MapEntryType::RefType acdk::util::TSubTreeMap< K, V >::RMapEntryType
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
typedef MapType::RefType acdk::util::TSubTreeMap< K, V >::RMapType
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
typedef RedBlackNodeType::RefType acdk::util::TSubTreeMap< K, V >::RRedBlackNodeType
 

template<class K, class V>
typedef SortedMapType::RefType acdk::util::TSubTreeMap< K, V >::RSortedMapType
 

Reimplemented from acdk::util::TSortedMap< K, V >.

template<class K, class V>
typedef SubTreeMapType::RefType acdk::util::TSubTreeMap< K, V >::RSubTreeMapType
 

template<class K, class V>
typedef RefHolder<ThisType> acdk::util::TSubTreeMap< K, V >::RThisType
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
typedef TreeMapEntrySetType::RefType acdk::util::TSubTreeMap< K, V >::RTreeMapEntrySetType
 

template<class K, class V>
typedef TreeMapType::RefType acdk::util::TSubTreeMap< K, V >::RTreeMapType
 

template<class K, class V>
typedef ValueCollectionType::RefType acdk::util::TSubTreeMap< K, V >::RValueCollectionType
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
typedef V acdk::util::TSubTreeMap< K, V >::RValueType
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
typedef TSortedMap<RKeyType, RValueType> acdk::util::TSubTreeMap< K, V >::SortedMapType
 

Reimplemented from acdk::util::TSortedMap< K, V >.

template<class K, class V>
typedef ThisType acdk::util::TSubTreeMap< K, V >::SubTreeMapType
 

template<class K, class V>
typedef TSubTreeMap<RKeyType, RValueType> acdk::util::TSubTreeMap< K, V >::ThisType
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
typedef TTreeMapEntrySet<RKeyType, RValueType> acdk::util::TSubTreeMap< K, V >::TreeMapEntrySetType
 

template<class K, class V>
typedef TTreeMap<RKeyType, RValueType> acdk::util::TSubTreeMap< K, V >::TreeMapType
 

template<class K, class V>
typedef TreeMapType::ValueCollectionType acdk::util::TSubTreeMap< K, V >::ValueCollectionType
 

Reimplemented from acdk::util::TAbstractMap< K, V >.


Constructor & Destructor Documentation

template<class K, class V>
acdk::util::TSubTreeMap< K, V >::TSubTreeMap IN(RTreeMapType map,
IN(RKeyType minKey,
IN(RKeyType maxKey
[inline]
 


Member Function Documentation

template<class K, class V>
virtual void acdk::util::TSubTreeMap< K, V >::clear  )  [inline, virtual]
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
virtual RComparatorType acdk::util::TSubTreeMap< K, V >::comparator  )  [inline, virtual]
 

Implements acdk::util::TSortedMap< K, V >.

template<class K, class V>
virtual bool acdk::util::TSubTreeMap< K, V >::containsKey IN(RKeyType key  )  [inline, virtual]
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
virtual bool acdk::util::TSubTreeMap< K, V >::containsValue IN(RValueType val  )  [inline, virtual]
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
virtual RMapEntrySetType acdk::util::TSubTreeMap< K, V >::entrySet  )  [inline, virtual]
 

Implements acdk::util::TAbstractMap< K, V >.

template<class K, class V>
virtual bool acdk::util::TSubTreeMap< K, V >::equals IN(acdk::lang::Object other  )  [inline, virtual]
 

Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

See also:
serialized_equals()

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
virtual RKeyType acdk::util::TSubTreeMap< K, V >::firstKey  )  [inline, virtual]
 

Implements acdk::util::TSortedMap< K, V >.

template<class K, class V>
virtual RValueType acdk::util::TSubTreeMap< K, V >::get IN(RKeyType key  )  [inline, virtual]
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
virtual int acdk::util::TSubTreeMap< K, V >::hashCode  )  [inline, virtual]
 

See also:
serialized_hashCode

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
virtual RSortedMapType acdk::util::TSubTreeMap< K, V >::headMap IN(RKeyType to  )  [inline, virtual]
 

Implements acdk::util::TSortedMap< K, V >.

template<class K, class V>
virtual bool acdk::util::TSubTreeMap< K, V >::isEmpty  )  [inline, virtual]
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
virtual RKeySetType acdk::util::TSubTreeMap< K, V >::keySet  )  [inline, virtual]
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
virtual RKeyType acdk::util::TSubTreeMap< K, V >::lastKey  )  [inline, virtual]
 

Implements acdk::util::TSortedMap< K, V >.

template<class K, class V>
RTreeMapType acdk::util::TSubTreeMap< K, V >::parentTreeMap  )  [inline]
 

template<class K, class V>
virtual RValueType acdk::util::TSubTreeMap< K, V >::put IN(RKeyType key,
IN(RValueType val
[inline, virtual]
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
virtual void acdk::util::TSubTreeMap< K, V >::putAll IN(RMapType map  )  [inline, virtual]
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
virtual RValueType acdk::util::TSubTreeMap< K, V >::remove IN(RKeyType key  )  [inline, virtual]
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
virtual int acdk::util::TSubTreeMap< K, V >::size  )  [inline, virtual]
 

Reimplemented from acdk::util::TAbstractMap< K, V >.

template<class K, class V>
virtual RSortedMapType acdk::util::TSubTreeMap< K, V >::subMap IN(RKeyType from,
IN(RKeyType to
[inline, virtual]
 

Implements acdk::util::TSortedMap< K, V >.

template<class K, class V>
virtual RSortedMapType acdk::util::TSubTreeMap< K, V >::tailMap IN(RKeyType from  )  [inline, virtual]
 

Implements acdk::util::TSortedMap< K, V >.

template<class K, class V>
virtual RValueCollectionType acdk::util::TSubTreeMap< K, V >::values  )  [inline, virtual]
 

Reimplemented from acdk::util::TAbstractMap< K, V >.


Member Data Documentation

template<class K, class V>
RTreeMapType acdk::util::TSubTreeMap< K, V >::_map [private]
 

template<class K, class V>
RKeyType acdk::util::TSubTreeMap< K, V >::_maxKey [private]
 

template<class K, class V>
RKeyType acdk::util::TSubTreeMap< K, V >::_minKey [private]
 

 
Last modified 2005-05-08 18:33 by SYSTEM By Artefaktur, Ing. Bureau Kommer