Class AbstractParameter<T>
java.lang.Object
org.moeaframework.analysis.parameter.AbstractParameter<T>
- Type Parameters:
T
- the type of the parameter
- Direct Known Subclasses:
Constant
,Enumeration
,SampledDouble
,SampledInteger
,SampledLong
Abstract parameter implementation.
-
Constructor Summary
ConstructorDescriptionAbstractParameter
(String name) Constructs a new parameter with the given name. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.moeaframework.analysis.parameter.Parameter
assignValue, encode, parse, readValue
-
Constructor Details
-
AbstractParameter
Constructs a new parameter with the given name.- Parameters:
name
- the parameter name
-
-
Method Details
-
getName
Description copied from interface:Named
Returns the name of this object. The format for the name depends on the specific implementation, but in general we recommend:- Prefer using alphanumeric characters including
'_'
and'-'
. - Avoid whitespace and other control characters.
null
can be returned, if allowed by the implementation, to indicate the object is anonymous or has no assigned name.
- Prefer using alphanumeric characters including
-
toString
-