public class NameValuePair
A simple class encapsulating a name/value pair.
| Constructor and description | 
|---|
| NameValuePair
                                ()Default constructor. | 
| NameValuePair
                                (java.lang.String name, java.lang.String value)Constructor. | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | boolean | equals(java.lang.Object object) | 
|  | java.lang.String | getName()Return the name. | 
|  | java.lang.String | getValue()Return the current value. | 
|  | int | hashCode() | 
|  | void | setName(java.lang.String name)Set the name. | 
|  | void | setValue(java.lang.String value)Set the value. | 
|  | java.lang.String | toString()Get a String representation of this pair. | 
| Methods inherited from class | Name | 
|---|---|
| class java.lang.Object | java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() | 
Default constructor.
Constructor.
name -   The name.value -  The value.Return the name.
Return the current value.
Set the name.
name -  The new nameSet the value.
value -  The new value.Get a String representation of this pair.