SMILA (incubation) API documentation

org.eclipse.smila.utils.collections
Class NameValuePair

java.lang.Object
  extended by org.eclipse.smila.utils.collections.NameValuePair

public class NameValuePair
extends java.lang.Object

Simple name value class.


Constructor Summary
NameValuePair(java.lang.String name, java.lang.String value)
          Creates a new pair of a name and a value.
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameValuePair

public NameValuePair(java.lang.String name,
                     java.lang.String value)
Creates a new pair of a name and a value.

Parameters:
name - the name.
value - the value for the name.
Method Detail

getName

public java.lang.String getName()
Returns:
The name of the name-value pair.

getValue

public java.lang.String getValue()
Returns:
The value of the name-value pair.

SMILA (incubation) API documentation