2005/5/9

     
 

class TreeSet

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

acdk::util::TreeSet Class Reference

#include <TreeSet.h>

Inheritance diagram for acdk::util::TreeSet:

acdk::util::AbstractSet acdk::util::SortedSet acdk::lang::Cloneable acdk::io::Serializable acdk::util::AbstractCollection acdk::util::Set acdk::lang::Object acdk::util::Collection acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

API: Java<br/>.

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


Public Member Functions

 TreeSet (IN(RComparator) comp=Nil)
 TreeSet (IN(RCollection) coll)
 TreeSet (IN(RSortedSet) sortedSet)
 TreeSet (IN(RSortedMap) map)
virtual bool add (IN(acdk::lang::Object) object)
 reimplemented from Collection

virtual bool addAll (IN(RCollection) coll)
 reimplemented from Collection

virtual void clear ()
 reimplemented from Collection

virtual acdk::lang::Object clone ()
virtual acdk::lang::Object clone (sys::Allocator *alc)
virtual RComparator comparator ()
virtual bool contains (IN(acdk::lang::Object) object)
 reimplemented from Collection

virtual bool isEmpty ()
 reimplemented from Collection

virtual int size ()
virtual bool remove (IN(acdk::lang::Object) object)
 reimplemented from Collection

virtual acdk::lang::Object first ()
virtual acdk::lang::Object last ()
virtual RSortedSet subSet (IN(acdk::lang::Object) from, IN(acdk::lang::Object) to)
virtual RSortedSet headSet (IN(acdk::lang::Object) to)
virtual RSortedSet tailSet (IN(acdk::lang::Object) from)
virtual RIterator iterator ()
 reimplemented from Collection

virtual bool containsAll (IN(RCollection) coll)
 reimplemented from Collection

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 removeAll (IN(RCollection) coll)
 reimplemented from Collection

virtual bool retainAll (IN(RCollection) coll)
 reimplemented from Collection

virtual RObjectArray toArray ()
 reimplemented from Collection

virtual RObjectArray toArray (IN(RObjectArray) array)
 reimplemented from Collection


Static Public Member Functions

acdk::lang::Object create_instance ()

Protected Member Functions

void _add (IN(acdk::lang::Object) object)

Private Attributes

RSortedMap _map


Constructor & Destructor Documentation

acdk::util::TreeSet::TreeSet (  IN(RComparator)  comp = Nil  ) 
 

acdk::util::TreeSet::TreeSet (  IN(RCollection)  coll  ) 
 

acdk::util::TreeSet::TreeSet (  IN(RSortedSet)  sortedSet  ) 
 

acdk::util::TreeSet::TreeSet (  IN(RSortedMap)  map  ) 
 


Member Function Documentation

void acdk::util::TreeSet::_add (  IN(acdk::lang::Object)  object  )  [inline, protected]
 

virtual bool acdk::util::TreeSet::add (  IN(acdk::lang::Object)  object  )  [virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractSet.

virtual bool acdk::util::TreeSet::addAll (  IN(RCollection)  coll  )  [virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractSet.

virtual void acdk::util::TreeSet::clear (   )  [inline, virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractSet.

virtual acdk::lang::Object acdk::util::TreeSet::clone (  sys::Allocator *  alc  )  [virtual]
 

Reimplemented from acdk::lang::Cloneable.

virtual acdk::lang::Object acdk::util::TreeSet::clone (   )  [inline, virtual]
 

Implements acdk::lang::Cloneable.

virtual RComparator acdk::util::TreeSet::comparator (   )  [inline, virtual]
 

Implements acdk::util::SortedSet.

virtual bool acdk::util::TreeSet::contains (  IN(acdk::lang::Object)  object  )  [inline, virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractSet.

virtual bool acdk::util::TreeSet::containsAll (  IN(RCollection)  coll  )  [inline, virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractSet.

acdk::lang::Object acdk::util::TreeSet::create_instance (   )  [inline, static]
 

Reimplemented from acdk::lang::Object.

virtual bool acdk::util::TreeSet::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::AbstractSet.

virtual acdk::lang::Object acdk::util::TreeSet::first (   )  [inline, virtual]
 

Implements acdk::util::SortedSet.

virtual int acdk::util::TreeSet::hashCode (   )  [inline, virtual]
 

See also:
serialized_hashCode

Reimplemented from acdk::util::AbstractSet.

virtual RSortedSet acdk::util::TreeSet::headSet (  IN(acdk::lang::Object)  to  )  [inline, virtual]
 

Implements acdk::util::SortedSet.

virtual bool acdk::util::TreeSet::isEmpty (   )  [inline, virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractSet.

virtual RIterator acdk::util::TreeSet::iterator (   )  [inline, virtual]
 

reimplemented from Collection

Implements acdk::util::AbstractSet.

virtual acdk::lang::Object acdk::util::TreeSet::last (   )  [inline, virtual]
 

Implements acdk::util::SortedSet.

virtual bool acdk::util::TreeSet::remove (  IN(acdk::lang::Object)  object  )  [inline, virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractSet.

virtual bool acdk::util::TreeSet::removeAll (  IN(RCollection)  coll  )  [inline, virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractSet.

virtual bool acdk::util::TreeSet::retainAll (  IN(RCollection)  coll  )  [inline, virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractSet.

virtual int acdk::util::TreeSet::size (   )  [inline, virtual]
 

Implements acdk::util::AbstractSet.

virtual RSortedSet acdk::util::TreeSet::subSet (  IN(acdk::lang::Object)  from,
IN(acdk::lang::Object)  to
)  [virtual]
 

Implements acdk::util::SortedSet.

virtual RSortedSet acdk::util::TreeSet::tailSet (  IN(acdk::lang::Object)  from  )  [inline, virtual]
 

Implements acdk::util::SortedSet.

virtual RObjectArray acdk::util::TreeSet::toArray (  IN(RObjectArray)  array  )  [inline, virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractSet.

virtual RObjectArray acdk::util::TreeSet::toArray (   )  [inline, virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractSet.


Member Data Documentation

RSortedMap acdk::util::TreeSet::_map [private]