public interface IdSet extends IdCollection
Modifier and Type | Method and Description |
---|---|
boolean |
add(long value)
Inserts a value into the set.
|
boolean |
contains(long value)
Checks if the set contains a given value
|
IdSetIterator |
iterator() |
boolean |
remove(long value)
Removes a value from the set
|
long[] |
toArray() |
clear, size
boolean add(long value)
value
- the value to insertboolean contains(long value)
value
- the valueboolean remove(long value)
value
- the value to removelong[] toArray()
IdSetIterator iterator()