net.cscott.jutil
public interface InvertibleMap<K,V> extends Map<K,V>
this is (ie, changes to the data structure may still
have to be made through this rather than directly to
the returned MultiMap).Version: $Id: InvertibleMap.java,v 1.2 2006-10-30 19:58:06 cananian Exp $
| Method Summary | |
|---|---|
| MultiMap<V,K> | invert() Returns a inverted view of this.
|
this.
Thus, if this is a Map with domain A
and range B, the returned MultiMap,
imap, will be a MultiMap with domain
B and range A, such that each b in B will map in
imap to Collection of A, c, if and only if
each a in c maps to b in
this.