diff --git a/Sugar/Collections/HashSet.pas b/Sugar/Collections/HashSet.pas index d58079dc..b551a2e6 100644 --- a/Sugar/Collections/HashSet.pas +++ b/Sugar/Collections/HashSet.pas @@ -13,6 +13,7 @@ interface method Contains(Item: T): Boolean; method &Remove(Item: T): Boolean; method ForEach(Action: Action); + method ToArray(); mapped to {$IF COOPER OR ECHOES}ToArray{$ELSE}objectEnumerator().allObjects{$ENDIF}; method Intersect(&Set: HashSet); method &Union(&Set: HashSet);