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 |
---|---|
boolean |
equals(Object o) |
int |
getEndIdx()
Gets the ending index.
|
int |
getStartIdx()
Gets the starting index.
|
String |
getValue()
Gets the string used.
|
int |
hashCode() |
String |
toString() |
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()