public static class ReferenceSets.UnmodifiableSet<K> extends ReferenceCollections.UnmodifiableCollection<K> implements ReferenceSet<K>, Serializable
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
collection| Modifier | Constructor and Description |
|---|---|
protected |
ReferenceSets.UnmodifiableSet(ReferenceSet<K> s) |
| 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, removeAll, retainAll, size, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waititeratorobjectIterator, toArraypublic static final long serialVersionUID
protected ReferenceSets.UnmodifiableSet(ReferenceSet<K> s)
public boolean remove(Object k)
ReferenceSetNote 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.UnmodifiableCollection<K>Collection.remove(Object)public boolean equals(Object o)
Copyright © 2013. All Rights Reserved.