com.liferay.portal.kernel.util
Class ObjectValuePair<K,V>
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ObjectValuePair
public ObjectValuePair()
ObjectValuePair
public ObjectValuePair(K key,
V value)
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
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object