Package jline.util
Class NamedParam
java.lang.Object
jline.util.NamedParam
- All Implemented Interfaces:
Serializable
A container for storing named parameters with string identifiers and object values.
This utility class provides a simple key-value pair specifically designed for parameter storage in configuration contexts. It's commonly used in distribution parameters, solver options, and other configurable components.
- Since:
- 1.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNamedParam(String name, Object value) Constructs a new named parameter with the specified name and value. -
Method Summary
-
Field Details
-
name
The parameter name/identifier -
value
The parameter value
-
-
Constructor Details
-
NamedParam
Constructs a new named parameter with the specified name and value.- Parameters:
name- the parameter name/identifiervalue- the parameter value
-
-
Method Details
-
getValue
Returns the value of this named parameter.- Returns:
- the parameter value
-