Dillo v3.1.1-98-g318d1f14
|
Typed version of container::untyped::HashSet. More...
#include <container.hh>
Public Member Functions | |
HashSet (bool owner, int tableSize=251) | |
void | put (T *object) |
bool | contains (T *object) const |
bool | remove (T *object) |
Public Member Functions inherited from lout::container::typed::Collection< T > | |
Collection () | |
~Collection () | |
bool | equals (Object *other) |
Returns, whether two objects are equal. | |
int | hashValue () |
Return a hash value for the object. | |
void | intoStringBuffer (misc::StringBuffer *sb) |
Store a textual representation of the object in a misc::StringBuffer. | |
Iterator< T > | iterator () |
int | size () |
Public Member Functions inherited from lout::object::Object | |
virtual | ~Object () |
The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. | |
virtual Object * | clone () |
Return an exact copy of the object. | |
const char * | toString () |
Use object::Object::intoStringBuffer to return a textual representation of the object. | |
virtual size_t | sizeOf () |
Return the number of bytes, this object totally uses. | |
Protected Member Functions | |
HashSet () | |
Additional Inherited Members | |
Protected Attributes inherited from lout::container::typed::Collection< T > | |
untyped::Collection * | base |
Typed version of container::untyped::HashSet.
Definition at line 513 of file container.hh.
|
inlineprotected |
Definition at line 516 of file container.hh.
|
inline |
Definition at line 519 of file container.hh.
References lout::container::typed::Collection< T >::base.
|
inline |
Definition at line 524 of file container.hh.
References lout::container::typed::Collection< T >::base.
|
inline |
Definition at line 522 of file container.hh.
References lout::container::typed::Collection< T >::base.
Referenced by testHashSet().
|
inline |
Definition at line 526 of file container.hh.
References lout::container::typed::Collection< T >::base.