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

View Source

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()
           
 void setKey(K key)
           
 void setValue(V value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectValuePair

public ObjectValuePair()

ObjectValuePair

public ObjectValuePair(K key,
                       V value)
Method Detail

getKey

public K getKey()

setKey

public void setKey(K key)

getValue

public V getValue()

setValue

public void setValue(V value)

equals

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