public static class IntSets.SynchronizedSet extends IntCollections.SynchronizedCollection implements IntSet, Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
remove(int k)
Removes an element from this set.
|
add, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, intIterator, isEmpty, iterator, rem, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toArray, toArray, toIntArray, toIntArray, toString
add, addAll, contains, containsAll, intIterator, rem, removeAll, retainAll, toArray, toArray, toIntArray, toIntArray
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, spliterator, toArray, toArray
parallelStream, removeIf, stream
public boolean remove(int k)
IntSet
Note that the corresponding method of the type-specific collection is rem()
.
This unfortunate situation is caused by the clash
with the similarly named index-based method in the List
interface.
remove
in interface IntSet
Collection.remove(Object)
public boolean equals(Object o)