org.kuali.rice.core.api.util
Class ConcreteKeyValue
java.lang.Object
org.kuali.rice.core.api.util.AbstractKeyValue
org.kuali.rice.core.api.util.ConcreteKeyValue
- All Implemented Interfaces:
- Serializable, Comparable<KeyValue>, KeyValue
public final class ConcreteKeyValue
- extends AbstractKeyValue
- implements Comparable<KeyValue>
A mutable, comparable key value pair of Strings.
This class is not meant to be extended.
For extension see AbstractKeyValue & KeyValue.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
ConcreteKeyValue
public ConcreteKeyValue()
ConcreteKeyValue
public ConcreteKeyValue(String key,
String value)
ConcreteKeyValue
public ConcreteKeyValue(KeyValue keyValue)
ConcreteKeyValue
public ConcreteKeyValue(Map.Entry<String,String> entry)
setKey
public void setKey(String key)
setValue
public void setValue(String value)
compareTo
public int compareTo(KeyValue o)
- Specified by:
compareTo
in interface Comparable<KeyValue>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.