com.liferay.portal.kernel.util
Class ObjectValuePair<K,V>

java.lang.Object
  extended by com.liferay.portal.kernel.util.ObjectValuePair<K,V>
All Implemented Interfaces:
java.io.Serializable

public class ObjectValuePair<K,V>
extends java.lang.Object
implements java.io.Serializable

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Constructor Summary
ObjectValuePair()
           
ObjectValuePair(K key, V value)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 K getKey()
           
 V getValue()
           
 int hashCode()
           
 void setKey(K key)
           
 void setValue(V value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectValuePair

public ObjectValuePair()

ObjectValuePair

public ObjectValuePair(K key,
                       V value)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getKey

public K getKey()

getValue

public V getValue()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

setKey

public void setKey(K key)

setValue

public void setValue(V value)