public abstract class UnmodifiableMapSet<K,V> extends SetWrapper<java.util.Map.Entry<K,V>>
UnmodifiableMapSet prevents mutation of a wrapped
MapSet.| Modifier | Constructor and Description |
|---|---|
protected |
UnmodifiableMapSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(java.util.Map.Entry<K,V> o) |
boolean |
addAll(java.util.Collection<? extends java.util.Map.Entry<K,V>> c) |
abstract UnmodifiableMap<K,V> |
asMap() |
void |
clear() |
java.util.Iterator<java.util.Map.Entry<K,V>> |
iterator() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
protected abstract MapSet<K,V> |
wrapped()
Implementations should return the wrapped
MapSet here. |
contains, containsAll, equals, hashCode, isEmpty, size, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitprotected abstract MapSet<K,V> wrapped()
MapSet here.wrapped in class SetWrapper<java.util.Map.Entry<K,V>>public abstract UnmodifiableMap<K,V> asMap()
public java.util.Iterator<java.util.Map.Entry<K,V>> iterator()
iterator in interface java.lang.Iterable<java.util.Map.Entry<K,V>>iterator in interface java.util.Collection<java.util.Map.Entry<K,V>>iterator in interface java.util.Set<java.util.Map.Entry<K,V>>iterator in class CollectionWrapper<java.util.Map.Entry<K,V>>public void clear()
public boolean remove(java.lang.Object o)
public boolean removeAll(java.util.Collection<?> c)
Copyright (c) 2006 C. Scott Ananian