|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.util.CommandOption cc.mallet.util.CommandOption.Integer
public static class CommandOption.Integer
Nested Class Summary |
---|
Nested classes/interfaces inherited from class cc.mallet.util.CommandOption |
---|
CommandOption.Boolean, CommandOption.Double, CommandOption.DoubleArray, CommandOption.File, CommandOption.Integer, CommandOption.IntegerArray, CommandOption.List, CommandOption.ListProviding, CommandOption.Object, CommandOption.ObjectFromBean, CommandOption.Set, CommandOption.SpacedStrings, CommandOption.String |
Field Summary | |
---|---|
int |
defaultValue
|
int |
value
|
Constructor Summary | |
---|---|
CommandOption.Integer(java.lang.Class owner,
java.lang.String name,
java.lang.String argName,
boolean argRequired,
int defaultValue,
java.lang.String shortdoc,
java.lang.String longdoc)
|
Method Summary | |
---|---|
java.lang.String |
defaultValueToString()
|
void |
parseArg(java.lang.String arg)
|
int |
value()
|
java.lang.String |
valueToString()
|
Methods inherited from class cc.mallet.util.CommandOption |
---|
getFullName, getInterpreter, getList, getName, parseArg, postParsing, printOptionValues, process, process, setSummary, wasInvoked |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int value
public int defaultValue
Constructor Detail |
---|
public CommandOption.Integer(java.lang.Class owner, java.lang.String name, java.lang.String argName, boolean argRequired, int defaultValue, java.lang.String shortdoc, java.lang.String longdoc)
Method Detail |
---|
public int value()
public void parseArg(java.lang.String arg)
parseArg
in class CommandOption
public java.lang.String defaultValueToString()
defaultValueToString
in class CommandOption
public java.lang.String valueToString()
valueToString
in class CommandOption
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |