public class DefaultPairNameValue extends Object implements PairNameValue
| Constructor and Description |
|---|
DefaultPairNameValue(String name,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PairNameValue o) |
String |
getName() |
Object |
getValue() |
void |
setName(String name) |
void |
setValue(Object value) |
String |
toString() |
public String getName()
getName in interface PairNameValuepublic Object getValue()
getValue in interface PairNameValuepublic int compareTo(PairNameValue o)
compareTo in interface Comparable<PairNameValue>public void setName(String name)
setName in interface PairNameValuepublic void setValue(Object value)
setValue in interface PairNameValue