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