BOpenHashTable: Add IsEmpty()

This commit is contained in:
Ingo Weinhold 2013-06-27 21:14:11 +02:00
parent 3e8daeb7bc
commit 1eda8517f1
1 changed files with 5 additions and 0 deletions

View File

@ -126,6 +126,11 @@ public:
return fTableSize;
}
bool IsEmpty() const
{
return fItemCount == 0;
}
size_t CountElements() const
{
return fItemCount;