public class ListParameter extends AbstractPropertyParameter
| Constructor and Description |
|---|
ListParameter() |
| Modifier and Type | Method and Description |
|---|---|
String |
customerDelimiterTipText()
Returns the tip text for this property.
|
Object |
evaluate(Object point)
Returns the evaluated value.
|
String |
getCustomDelimiter()
Get the custom delimiter to use.
|
String[] |
getItems()
Splits the list string using the appropriate delimiter.
|
String |
getList()
Get the list of values.
|
String[] |
getOptions()
returns the options of the current setup.
|
String |
globalInfo()
Returns a string describing the object.
|
Enumeration |
listOptions()
Gets an enumeration describing the available options.
|
String |
listTipText()
Returns the tip text for this property.
|
void |
setCustomDelimiter(String value)
Set the custom delimiter to use.
|
void |
setList(String value)
Set the list of values.
|
void |
setOptions(String[] options)
Parses the options for this object.
|
SpaceDimension |
spaceDimension()
Returns the parameter as space dimensions.
|
String |
toString()
Returns a string representation of the search parameter.
|
getProperty, propertyTipText, setPropertyclonepublic String globalInfo()
globalInfo in class AbstractPropertyParameterpublic Enumeration listOptions()
listOptions in interface weka.core.OptionHandlerlistOptions in class AbstractPropertyParameterpublic String[] getOptions()
getOptions in interface weka.core.OptionHandlergetOptions in class AbstractPropertyParameterpublic void setOptions(String[] options) throws Exception
setOptions in interface weka.core.OptionHandlersetOptions in class AbstractPropertyParameteroptions - the options to useException - if setting of options failspublic String customerDelimiterTipText()
public String getCustomDelimiter()
public void setCustomDelimiter(String value)
value - the delimiter.public String listTipText()
public String getList()
public void setList(String value)
value - the list of values.public String[] getItems() throws Exception
Exception - if the splitting failspublic SpaceDimension spaceDimension() throws Exception
spaceDimension in class AbstractParameterException - if instantiation of dimension failspublic Object evaluate(Object point)
evaluate in class AbstractParameterpoint - the point to evaluatepublic String toString()
toString in class AbstractPropertyParameterCopyright © 2021 University of Waikato, Hamilton, NZ. All Rights Reserved.