public final class OptionID extends Object
Modifier and Type | Field and Description |
---|---|
private String |
description
The description of the OptionID.
|
private String |
name
Option name
|
Constructor and Description |
---|
OptionID(String name,
String description)
Provides a new OptionID of the given name and description.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the description of this OptionID.
|
String |
getName()
Get the option name.
|
static OptionID |
getOrCreateOptionID(String name,
String description)
Gets or creates the OptionID for the given class and given name.
|
String |
toString()
Returns the name of this OptionID.
|
private String name
private String description
public OptionID(String name, String description)
name
- the name of the optiondescription
- the description of the optionpublic String getDescription()
public static OptionID getOrCreateOptionID(String name, String description)
epsilon
for the class
DBSCAN
will be named
dbscan.epsilon
.name
- the namedescription
- the description is also set if the named OptionID does
exist alreadypublic String toString()
toString
in class Object
Object.toString()
public String getName()