Returns the first element in this set.
Returns the first element in this set.For hash sets accessing an element at the start of the set has a time complexity of O(N), with N being the capacity of the set.
For tree sets accessing an element at the start of the set has a time complexity of O(Log N), with N being the number of elements in the set.