BOpenHashTable: Add IsEmpty()
This commit is contained in:
parent
3e8daeb7bc
commit
1eda8517f1
|
@ -126,6 +126,11 @@ public:
|
|||
return fTableSize;
|
||||
}
|
||||
|
||||
bool IsEmpty() const
|
||||
{
|
||||
return fItemCount == 0;
|
||||
}
|
||||
|
||||
size_t CountElements() const
|
||||
{
|
||||
return fItemCount;
|
||||
|
|
Loading…
Reference in New Issue