Returns an array containing all of the elements in this set.
Returns an array containing all of the elements in this set.Note: The pointer array returned is malloced from heap, the caller has to free it after it is no longer needed!
The size of the pointer array malloced and returned is defined by the pblSetSize() of the set.
This method has a time complexity of O(N), with N being the size of the set.