Class SimpleNameValue<V>
Object
SimpleNameValue<V>
- Type Parameters:
V
- value-type
- All Implemented Interfaces:
NameValue<V>
A simple container expressing a name-value pair.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleNameValue
(String name, V value) Creates a newSimpleNameValue
instance. -
Method Summary
-
Constructor Details
-
SimpleNameValue
Creates a newSimpleNameValue
instance.- Parameters:
name
- The associated name.value
- The associated value.
-
-
Method Details
-
getName
Description copied from interface:NameValue
The associated name. -
setName
Description copied from interface:NameValue
Assigns the associated name. -
getValue
Description copied from interface:NameValue
The associated value. -
setValue
Description copied from interface:NameValue
Assigns the associated value.
-