org.cometd.util
Class ImmutableHashMap.ImmutableEntry<K,V>

java.lang.Object
  extended by org.cometd.util.ImmutableHashMap.ImmutableEntry<K,V>
All Implemented Interfaces:
Map.Entry<K,V>
Enclosing class:
ImmutableHashMap<K,V>

public static class ImmutableHashMap.ImmutableEntry<K,V>
extends Object
implements Map.Entry<K,V>


Method Summary
 ImmutableHashMap.MutableEntry<K,V> asMutable()
           
 K getKey()
           
 V getValue()
           
 V setValue(V value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Method Detail

getKey

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

getValue

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

setValue

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

asMutable

public ImmutableHashMap.MutableEntry<K,V> asMutable()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2010 Dojo Foundation. All Rights Reserved.