程序包 weka.core

类 Option

java.lang.Object
weka.core.Option
所有已实现的接口:
RevisionHandler

public class Option extends Object implements 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

      public Option(String description, String name, int numArguments, String synopsis)
      Creates new option with the given parameters.
      参数:
      description - the option's description
      name - the option's name
      numArguments - the number of arguments
  • 方法详细资料

    • description

      public String description()
      Returns the option's description.
      返回:
      the option's description
    • name

      public String 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

      public String synopsis()
      Returns the option's synopsis.
      返回:
      the option's synopsis
    • getRevision

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      返回:
      the revision