harpoon.Util.Collections
Interface MapSet

All Superinterfaces:
Collection, Set
All Known Subinterfaces:
MultiMapSet

public interface MapSet
extends Set

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

Version:
$Id: MapSet.java,v 1.2 2002/02/25 21:09:05 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Method Summary
 Map asMap()
           
 
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

public Map asMap()