BOpenHashTable: Add IsEmpty()

This commit is contained in:
Ingo Weinhold
2013-06-27 21:57:43 +02:00
parent 3e8daeb7bc
commit 1eda8517f1
@@ -126,6 +126,11 @@ public:
return fTableSize;
}
bool IsEmpty() const
{
return fItemCount == 0;
}
size_t CountElements() const
{
return fItemCount;