Package net.cscott.jutil
Class UnmodifiableMultiMapSet<K,V>
java.lang.Object
net.cscott.jutil.CollectionWrapper<Map.Entry<K,V>>
net.cscott.jutil.SetWrapper<Map.Entry<K,V>>
net.cscott.jutil.UnmodifiableMapSet<K,V>
net.cscott.jutil.UnmodifiableMultiMapSet<K,V>
- All Implemented Interfaces:
Iterable<Map.Entry<K,,V>> Collection<Map.Entry<K,,V>> Set<Map.Entry<K,,V>> MapSet<K,,V> MultiMapSet<K,V>
public abstract class UnmodifiableMultiMapSet<K,V>
extends UnmodifiableMapSet<K,V>
implements MultiMapSet<K,V>
UnmodifiableMultiMapSet prevents mutation of a wrapped
MultiMapSet.- Since:
- 1.3
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasMap()abstract UnmodifiableMultiMap<K, V> protected abstract MultiMapSet<K, V> wrapped()Implementations should return the wrappedMultiMapSethere.Methods inherited from class net.cscott.jutil.UnmodifiableMapSet
add, addAll, clear, iterator, remove, removeAll, retainAllMethods inherited from class net.cscott.jutil.CollectionWrapper
contains, containsAll, equals, hashCode, isEmpty, size, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
UnmodifiableMultiMapSet
protected UnmodifiableMultiMapSet()
-
-
Method Details
-
wrapped
Implementations should return the wrappedMultiMapSethere.- Specified by:
wrappedin classUnmodifiableMapSet<K,V>
-
asMap
-
asMultiMap
- Specified by:
asMultiMapin interfaceMultiMapSet<K,V>
-