程序包 weka.core
类 Option
java.lang.Object
weka.core.Option
- 所有已实现的接口:
RevisionHandler
Class to store information about an option.
Typical usage:
Option myOption = new Option("Uses extended mode.", "E", 0, "-E"));
- 版本:
- $Revision: 1.7 $
- 作者:
- Eibe Frank (eibe@cs.waikato.ac.nz)
-
构造器详细资料
-
Option
Creates new option with the given parameters.- 参数:
description
- the option's descriptionname
- the option's namenumArguments
- the number of arguments
-
-
方法详细资料
-
description
Returns the option's description.- 返回:
- the option's description
-
name
Returns the option's name.- 返回:
- the option's name
-
numArguments
public int numArguments()Returns the option's number of arguments.- 返回:
- the option's number of arguments
-
synopsis
Returns the option's synopsis.- 返回:
- the option's synopsis
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-