Liferay 6.1.2-ce-ga3

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

compareTo

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

equals

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

getKey

public String getKey()

getValue

public String getValue()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

setKey

public void setKey(String key)

setValue

public void setValue(String value)

Liferay 6.1.2-ce-ga3