net.paoding.rose.jade.rowmapper
类 MapEntryImpl<K,V>

java.lang.Object
  继承者 net.paoding.rose.jade.rowmapper.MapEntryImpl<K,V>
所有已实现的接口:
Map.Entry<K,V>

public class MapEntryImpl<K,V>
extends Object
implements Map.Entry<K,V>

封装一对Key-Value值。

作者:
王志亮 [qieqie.wang@gmail.com], 廖涵 [in355hz@gmail.com]

构造方法摘要
MapEntryImpl(K k, V v)
          Creates new entry.
 
方法摘要
 boolean equals(Object o)
           
 K getKey()
           
 V getValue()
           
 int hashCode()
           
 V setValue(V newValue)
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

MapEntryImpl

public MapEntryImpl(K k,
                    V v)
Creates new entry.

方法详细信息

getKey

public final K getKey()
指定者:
接口 Map.Entry<K,V> 中的 getKey

getValue

public final V getValue()
指定者:
接口 Map.Entry<K,V> 中的 getValue

setValue

public final V setValue(V newValue)
指定者:
接口 Map.Entry<K,V> 中的 setValue

equals

public final boolean equals(Object o)
指定者:
接口 Map.Entry<K,V> 中的 equals
覆盖:
Object 中的 equals

hashCode

public final int hashCode()
指定者:
接口 Map.Entry<K,V> 中的 hashCode
覆盖:
Object 中的 hashCode

toString

public final String toString()
覆盖:
Object 中的 toString


Copyright © 2012. All Rights Reserved.