public final class NVPair
extends java.lang.Object
Constructor and Description |
---|
NVPair(NVPair p)
Creates a copy of a given name/value pair.
|
NVPair(java.lang.String name,
java.lang.String value)
Creates a new name/value pair and initializes it to the
specified name and value.
|
public NVPair(java.lang.String name, java.lang.String value)
name
- the namevalue
- the valuepublic NVPair(NVPair p)
p
- the name/value pair to copypublic final java.lang.String getName()
public final java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Object