Tools.h++ Manual
21-124 104011 Tandem Computers Incorporated
21
Publc operators
void operator=(const RWHashTable& t);
Assignment operator. Sets self as a shallow copy of
t
. Afterwards, the two
tables will have the same number of buckets. Hence, the members need not be
and will not be rehashed.
RWBoolean operator==(const RWHashTable&
t) const;
Returns
TRUE
if self and
t
have the same number of elements and if for every
key in self there is a corresponding key in
t
which isEqual.
RWBoolean operator<=(const RWHashTable&
t) const;
Returns
TRUE
if self is a subset of
t
, that is, every element of self has a
counterpart in
t
which isEqual.
RWBoolean operator!=(const RWHashTable&)
const;
Returns the negation of
operator==()
, above.
Member functions
virtual void apply(RWapplyCollectable ap,
void*);
Redefined from RWCollection. The function pointed to by
ap
will be called for
each member in the collection. Because of the nature of hashing collections,
this will not be done in any particular order. The function should not do
anything that could change the hash value or equality properties of the objects.
virtual RWspace binaryStoreSize() const;
Inherited from
RWCollection
.
virtual void clear();
Redefined from
RWCollection
.
virtual void clearAndDestroy();
Inherited from
RWCollection
.
virtual int compareTo(const RWCollectable*)
const;
Inherited from
RWCollection
.
virtual RWBoolean contains(const RWCollectable*)
const;
Inherited from
RWCollection
.