public static class ReferenceSets.SynchronizedSet<K> extends ReferenceCollections.SynchronizedCollection<K> implements ReferenceSet<K>, Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
remove(Object k)
Removes an element from this set.
|
add, addAll, clear, contains, containsAll, isEmpty, iterator, objectIterator, rem, removeAll, retainAll, size, toArray, toArray, toString
iterator
objectIterator, toArray
add, addAll, clear, contains, containsAll, isEmpty, removeAll, retainAll, size, spliterator, toArray, toArray
parallelStream, removeIf, stream
public boolean remove(Object k)
ReferenceSet
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 ReferenceSet<K>
remove
in interface Collection<K>
remove
in interface Set<K>
remove
in class ReferenceCollections.SynchronizedCollection<K>
Collection.remove(Object)
public boolean equals(Object o)