IteratableSplayTree: Add FindClosest()
This commit is contained in:
parent
e67f9c9bd1
commit
908ce69d6e
@ -563,6 +563,11 @@ public:
|
||||
return fTree.IsEmpty();
|
||||
}
|
||||
|
||||
Node* FindClosest(const Key& key, bool greater, bool orEqual)
|
||||
{
|
||||
return fTree.FindClosest(key, greater, orEqual);
|
||||
}
|
||||
|
||||
Node* FindMin()
|
||||
{
|
||||
return fTree.FindMin();
|
||||
|
Loading…
Reference in New Issue
Block a user