Liferay 6.0-ee

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:
Serializable

public class ObjectValuePair<K,V>
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
ObjectValuePair()
           
ObjectValuePair(K key, V value)
           
 
Method Summary
 boolean equals(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

getKey

public K getKey()

setKey

public void setKey(K key)

getValue

public V getValue()

setValue

public void setValue(V value)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Liferay 6.0-ee