org.zkoss.util
Class Maps.SerializableEntry<K,V>

java.lang.Object
  extended by org.zkoss.util.Maps.SerializableEntry<K,V>
All Implemented Interfaces:
Serializable, Map.Entry<K,V>
Enclosing class:
Maps

public static class Maps.SerializableEntry<K,V>
extends Object
implements Map.Entry<K,V>, Serializable

A serializable implement of Map.Entry

Since:
8.0.0
See Also:
Serialized Form

Constructor Summary
Maps.SerializableEntry(K key, V val)
           
Maps.SerializableEntry(Map.Entry<K,V> entry)
           
 
Method Summary
 boolean equals(Map.Entry<K,V> obj)
           
 K getKey()
           
 V getValue()
           
 int hashCode()
           
 V setValue(V value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals
 

Constructor Detail

Maps.SerializableEntry

public Maps.SerializableEntry(K key,
                              V val)

Maps.SerializableEntry

public Maps.SerializableEntry(Map.Entry<K,V> entry)
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>

equals

public boolean equals(Map.Entry<K,V> obj)

hashCode

public int hashCode()
Specified by:
hashCode in interface Map.Entry<K,V>
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015. All rights reserved.