com.myjavatools.lib.foundation
Class IndexedTreeMap2<X,Y,V>
java.lang.Object
com.myjavatools.lib.foundation.AbstractMap2<X,Y,V>
com.myjavatools.lib.foundation.IndexedMap2<X,Y,V>
com.myjavatools.lib.foundation.IndexedTreeMap2<X,Y,V>
- All Implemented Interfaces:
- Map2<X,Y,V>
public class IndexedTreeMap2<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 TreeMap.
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
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 TreeSet 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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
IndexedTreeMap2
public IndexedTreeMap2()
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 TreeSet 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.