Liferay 6.0.5

com.liferay.portal.kernel.util
Class KeyValuePair

java.lang.Object
  extended by com.liferay.portal.kernel.util.KeyValuePair
All Implemented Interfaces:
Serializable, Comparable<KeyValuePair>

public class KeyValuePair
extends Object
implements Comparable<KeyValuePair>, Serializable

See Also:
Serialized Form

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

Constructor Detail

KeyValuePair

public KeyValuePair()

KeyValuePair

public KeyValuePair(String key,
                    String value)
Method Detail

getKey

public String getKey()

setKey

public void setKey(String key)

getValue

public String getValue()

setValue

public void setValue(String value)

compareTo

public int compareTo(KeyValuePair kvp)
Specified by:
compareTo in interface Comparable<KeyValuePair>

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Liferay 6.0.5