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 newSimpleNameValueinstance. -
Method Summary
-
Constructor Details
-
SimpleNameValue
Creates a newSimpleNameValueinstance.- Parameters:
name- The associated name.value- The associated value.
-
-
Method Details
-
getName
Description copied from interface:NameValueThe associated name. -
setName
Description copied from interface:NameValueAssigns the associated name. -
getValue
Description copied from interface:NameValueThe associated value. -
setValue
Description copied from interface:NameValueAssigns the associated value.
-