JUtil

net.cscott.jutil
Interface MultiMapSet<K,V>

All Superinterfaces:
Collection<Map.Entry<K,V>>, Iterable<Map.Entry<K,V>>, MapSet<K,V>, Set<Map.Entry<K,V>>
All Known Implementing Classes:
UnmodifiableMultiMapSet

public interface MultiMapSet<K,V>
extends MapSet<K,V>

A MultiMapSet is a Set of Map.Entrys which can also be accessed as a MultiMap. Use the MultiMap.entrySet() method of the MultiMap to get back the MultiMapSet.

Version:
$Id: MultiMapSet.java,v 1.4 2006-10-30 20:14:41 cananian Exp $
Author:
C. Scott Ananian

Method Summary
 MultiMap<K,V> asMap()
           
 MultiMap<K,V> asMultiMap()
           
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

asMap

MultiMap<K,V> asMap()
Specified by:
asMap in interface MapSet<K,V>

asMultiMap

MultiMap<K,V> asMultiMap()

JUtil

Copyright (c) 2006 C. Scott Ananian