public final class NameValuePair<T>
extends java.lang.Object
T type.| Constructor and Description |
|---|
NameValuePair(java.lang.String name,
T value)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Get the name identifying the value.
|
T |
getValue()
Get the value assoicated with the name.
|
public NameValuePair(java.lang.String name,
T value)
name - a name identifying the specified value.value - the value associated with the specified name.public java.lang.String getName()
public T getValue()