cc.factorie.util.CmdOptions

CmdOption

class CmdOption[T] extends util.CmdOption[T]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CmdOption
  2. CmdOption
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CmdOption(name: String, shortName: Char, defaultValue: T, valueName: String, helpMsg: String)(implicit m: Manifest[T])

  2. new CmdOption(name: String, defaultValue: T, valueName: String, helpMsg: String)(implicit m: Manifest[T])

  3. new CmdOption(name: String, helpMsg: String)(implicit m: Manifest[T])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. var defaultValue: T

    Definition Classes
    CmdOptionCmdOption
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(other: Any): Boolean

    Definition Classes
    CmdOption → AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hasValue: Boolean

    Definition Classes
    CmdOptionCmdOption
  14. def hashCode(): Int

    Definition Classes
    CmdOption → AnyRef → Any
  15. val helpMsg: String

  16. def helpString: String

    Definition Classes
    CmdOptionCmdOption
  17. def invoke(): Unit

    Called after this CmdOption has been matched and value has been parsed.

  18. var invokedCount: Int

    Definition Classes
    CmdOptionCmdOption
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. val name: String

    Definition Classes
    CmdOptionCmdOption
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. def noClass: Class[Any]

  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def parse(args: Seq[String], index: Int): Int

    Attempt to match and process command-line option at position 'index' in 'args'.

    Attempt to match and process command-line option at position 'index' in 'args'. Return the index of the next position to be processed.

    Definition Classes
    CmdOptionCmdOption
  26. def parseValue(valueStr: String): Unit

    Parse a value from a single arg

    Parse a value from a single arg

    Attributes
    protected
  27. def parseValue(args: Seq[String], index: Int): Int

    After we have found a match, request that argument(s) to command-line option be parsed.

    After we have found a match, request that argument(s) to command-line option be parsed. Return the index position that should be processed next. This method allows one option to possibly consume multiple args, (in contrast with parseValue(String).)

    Attributes
    protected
  28. def required: Boolean

    Definition Classes
    CmdOptionCmdOption
  29. def setValue(v: T): Unit

    Definition Classes
    CmdOptionCmdOption
  30. var shortName: Char

    Definition Classes
    CmdOptionCmdOption
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. def unParse: Seq[String]

    Definition Classes
    CmdOption
  34. var value: T

    Definition Classes
    CmdOptionCmdOption
  35. def valueClass: Class[_]

    Definition Classes
    CmdOptionCmdOption
  36. val valueManifest: Manifest[T]

  37. var valueName: String

    Definition Classes
    CmdOptionCmdOption
  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def wasInvoked: Boolean

    Definition Classes
    CmdOption

Inherited from util.CmdOption[T]

Inherited from AnyRef

Inherited from Any

Ungrouped