JUtil

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

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

public interface MapSet<K,V>
extends Set<Map.Entry<K,V>>

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

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

Method Summary
 Map<K,V> 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

Map<K,V> asMap()

JUtil

Copyright (c) 2006 C. Scott Ananian