common-util

local.tomas.util.collections
Class SimpleMappedMap.SimpleEntry<J,V>

java.lang.Object
  extended by local.tomas.util.collections.SimpleMappedMap.SimpleEntry<J,V>
Type Parameters:
J - key type
V - value type
All Implemented Interfaces:
Map.Entry<J,V>
Enclosing class:
SimpleMappedMap<K,F,T>

protected static class SimpleMappedMap.SimpleEntry<J,V>
extends Object
implements Map.Entry<J,V>

A simple map entry.

Author:
tomas.teubner

Constructor Summary
SimpleMappedMap.SimpleEntry(J key, V value)
          Construct entry.
 
Method Summary
 J getKey()
           
 V getValue()
           
 V setValue(V value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Constructor Detail

SimpleMappedMap.SimpleEntry

public SimpleMappedMap.SimpleEntry(J key,
                                   V value)
Construct entry.

Parameters:
key - key
value - value
Method Detail

getKey

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

getValue

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

setValue

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

common-util

Copyright © 2005-2007 Tomas Teubner. All Rights Reserved.