Add an integer into the set.
Add an integer into the set. The value, v
, should not be equivalent to the
noData
value used for this set.
Execute f
for each item in the set.
Return the number of items in the set.
Return the number of items in the set. This is a constant time operation.
Converts this set to an Array[Int].
Converts this set to a List[Int].
Converts this set to a List[Int]. Used mostly for debugging and tests.
(Since version ) see corresponding Javadoc for more information.
Mutable integer set based on open-addressing. Primary use-case is deduping integers so it only supports
add
andforeach
.