HaikuDepot/List: added IsEmpty() method
This commit is contained in:
@@ -99,6 +99,11 @@ public:
|
||||
{
|
||||
_Resize(0);
|
||||
}
|
||||
|
||||
inline bool IsEmpty() const
|
||||
{
|
||||
return fCount == 0;
|
||||
}
|
||||
|
||||
inline int32 CountItems() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user