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)
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)