se.chalmers.cs.gf.util
Class MapEntryPair<K,V>

java.lang.Object
  extended by se.chalmers.cs.gf.util.Pair<K,V>
      extended by se.chalmers.cs.gf.util.MapEntryPair<K,V>
All Implemented Interfaces:
java.lang.Comparable<Pair<K,V>>, java.util.Map.Entry<K,V>

public class MapEntryPair<K,V>
extends Pair<K,V>
implements java.util.Map.Entry<K,V>


Field Summary
 
Fields inherited from class se.chalmers.cs.gf.util.Pair
fst, snd
 
Constructor Summary
MapEntryPair(K fst, V snd)
           
 
Method Summary
 K getKey()
           
 V getValue()
           
 V setValue(V value)
           
 
Methods inherited from class se.chalmers.cs.gf.util.Pair
compareTo, equals, hashCode, pair, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Constructor Detail

MapEntryPair

public MapEntryPair(K fst,
                    V snd)
Method Detail

getKey

public K getKey()
Specified by:
getKey in interface java.util.Map.Entry<K,V>

getValue

public V getValue()
Specified by:
getValue in interface java.util.Map.Entry<K,V>

setValue

public V setValue(V value)
Specified by:
setValue in interface java.util.Map.Entry<K,V>