com.liferay.portal.kernel.util
Class KeyValuePair
java.lang.Object
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
KeyValuePair
public KeyValuePair()
KeyValuePair
public KeyValuePair(String key,
String value)
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