Adds an element to the set.
This method adds the specified element to the set in a thread-safe approach.
true if the element was added successfully, false if it already exists in the set.
true
false
The element to be added.