com.myjavatools.lib.foundation
Class IndexedHashMap2<X,Y,V>

java.lang.Object
  extended by com.myjavatools.lib.foundation.AbstractMap2<X,Y,V>
      extended by com.myjavatools.lib.foundation.IndexedMap2<X,Y,V>
          extended by com.myjavatools.lib.foundation.IndexedHashMap2<X,Y,V>
All Implemented Interfaces:
Map2<X,Y,V>

public class IndexedHashMap2<X,Y,V>
extends IndexedMap2<X,Y,V>

IndexedHashMap2 is an class that implements a two-parameter map with indexes for both parameters; entries are stored in a HashMap.

Copyright: This is public domain; The right of people to use, distribute, copy or improve the contents of the following may not be restricted.

Company: My Java Tools

Version:
6.0 12/10/2006

Nested Class Summary
 
Nested classes/interfaces inherited from class com.myjavatools.lib.foundation.AbstractMap2
AbstractMap2.Entry<X,Y,V>
 
Constructor Summary
IndexedHashMap2()
           
 
Method Summary
 java.util.Set<Map2.Entry<X,Y,V>> entrySet()
          Returns a set view of the mappings contained in this map. Each element in the returned set is a Map2.Entry. The set is backed by the map, so changes to the map are reflected in the set, and vice-versa. This implementation uses HashSet for storing entries.
 
Methods inherited from class com.myjavatools.lib.foundation.IndexedMap2
containsKeyPair, curry1, curry2, ensureSlot1, ensureSlot2, get, getEntry, keySet1, keySet2, put, remove
 
Methods inherited from class com.myjavatools.lib.foundation.AbstractMap2
clear, containsValue, equal, equals, hashCode, isEmpty, putAll, size, toString, values
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexedHashMap2

public IndexedHashMap2()
Method Detail

entrySet

public java.util.Set<Map2.Entry<X,Y,V>> entrySet()
Returns a set view of the mappings contained in this map. Each element in the returned set is a Map2.Entry. The set is backed by the map, so changes to the map are reflected in the set, and vice-versa. This implementation uses HashSet for storing entries.

Specified by:
entrySet in interface Map2<X,Y,V>
Specified by:
entrySet in class AbstractMap2<X,Y,V>
Returns:
a set view of the mappings contained in this map.