net.cscott.jutil
Class UnmodifiableMultiMapSet<K,V>
java.lang.Object
net.cscott.jutil.CollectionWrapper<E>
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
.
- Version:
- $Id: UnmodifiableMultiMapSet.java,v 1.1 2006-10-29 20:15:48 cananian Exp $
- Author:
- C. Scott Ananian
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
UnmodifiableMultiMapSet
protected UnmodifiableMultiMapSet()
wrapped
protected abstract MultiMapSet<K,V> wrapped()
- Implementations should return the wrapped
MultiMapSet
here.
- Specified by:
wrapped
in class UnmodifiableMapSet<K,V>
asMap
public UnmodifiableMultiMap<K,V> asMap()
- Specified by:
asMap
in interface MapSet<K,V>
- Specified by:
asMap
in interface MultiMapSet<K,V>
- Specified by:
asMap
in class UnmodifiableMapSet<K,V>
asMultiMap
public abstract UnmodifiableMultiMap<K,V> asMultiMap()
- Specified by:
asMultiMap
in interface MultiMapSet<K,V>
Copyright (c) 2006 C. Scott Ananian