263 while ((
object =
next())) {
virtual void AddAt(TObject *obj, Int_t idx)
Insert object at position idx in the list.
void AddFirst(TObject *obj)
Add object at the beginning of the list.
virtual void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
void AddLast(TObject *obj)
Add object at the end of the list.
void AddBefore(const TObject *before, TObject *obj)
Add object to the hash table.
ClassImp(TSeqCollection) Int_t TSeqCollection TIter next(this)
Return index of object in collection.
const TList * GetListForObject(const char *name) const
Return the TList corresponding to object's name based hash value.
TObject * FindObject(const char *name) const
Find object using its name.
virtual void AddFirst(TObject *obj)
Add object at the beginning of the list.
void Rehash(Int_t newCapacity, Bool_t checkObjValidity=kTRUE)
Rehash the hashtable.
void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
Float_t AverageCollisions() const
Return the average collision rate.
TObject * RemoveSlow(TObject *obj)
Remove object from the hashtable without using the hash value.
void RecursiveRemove(TObject *obj)
Remove object from this collection and recursively remove the object from all other objects (and coll...
virtual void AddLast(TObject *obj)
Add object at the end of the list.
virtual void RecursiveRemove(TObject *obj)
Recursively remove this object from a list.
const TList * GetListForObject(const char *name) const
Return the THashTable's list (bucket) in which obj can be found based on its hash; see THashTable::Ge...
THashTable implements a hash table to store TObject's.
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
void Clear(Option_t *option="")
Remove all objects from the table.
ClassImp(THashList) THashList
Create a THashList object.
THashList(const THashList &)
void Clear(Option_t *option="")
Remove all objects from the list.
void AddAt(TObject *obj, Int_t idx)
Insert object at location idx in the list.
virtual TObject * Remove(TObject *obj)
Remove object from the list.
TObject * Remove(TObject *obj)
Remove object from the list.
TObject * GetObject() const
TObjLink * fLast
pointer to first entry in linked list
Bool_t TestBit(UInt_t f) const
void AddAfter(const TObject *after, TObject *obj)
Insert object after object after in the list.
virtual void AddBefore(const TObject *before, TObject *obj)
Insert object before object before in the list.
Float_t AverageCollisions() const
void Rehash(Int_t newCapacity)
Rehash the hashlist.
static void GarbageCollect(TObject *obj)
Add to the list of things to be cleaned up.
virtual ~THashList()
Delete a hashlist.
Wrapper around a TObject so it can be stored in a TList.
void Add(TObject *obj)
Add object to the hash table.
void AddBefore(const TObject *before, TObject *obj)
Insert object before object before in the list.
virtual void Clear(Option_t *option="")
Remove all objects from the list.
virtual void AddAfter(const TObject *after, TObject *obj)
Insert object after object after in the list.
Mother of all ROOT objects.
TObjLink * fCache
pointer to last entry in linked list
TObject * FindObject(const char *name) const
Find object using its name.
TObject * Remove(TObject *obj)
Remove object from the hashtable.