java.lang.Object
io.jenetics.internal.util.Args
Helper class for parsing command line arguments.
- Since:
- 3.4
- Version:
- 3.4
-
Method Summary
-
Method Details
-
arg
Return the parameter with the given name.- Parameters:
name
- the parameter name- Returns:
- the parameter with the given name, if any
-
intArg
Return the int-argument with the given name.- Parameters:
name
- the argument name- Returns:
- the int argument value, if any
-
intArgs
-
longArg
Return the long-argument with the given name.- Parameters:
name
- the argument name- Returns:
- the long argument value, if any
-
doubleArg
Return the double-argument with the given name.- Parameters:
name
- the argument name- Returns:
- the double argument value, if any
-
toString
-
of
Wraps the given argument array into anArgs
object.- Parameters:
args
- the underlying command line arguments- Returns:
- the wrapped argument object
-