public final class SingleArg extends Object
Constructor and Description |
---|
SingleArg(String value,
int startIdx,
int endIdx)
Create a new argument.
|
Modifier and Type | Method and Description |
---|---|
int |
getEndIdx()
Get the ending index.
|
int |
getStartIdx()
Get the starting index.
|
String |
getValue()
Get the string used.
|
public SingleArg(String value, int startIdx, int endIdx)
value
- The argument stringstartIdx
- The starting index of value
in an input stringendIdx
- The ending index of value
in an input stringpublic String getValue()
public int getStartIdx()
public int getEndIdx()