@NonnullByDefault public class SimpleArgument extends Object implements Argument
| Modifier and Type | Field and Description |
|---|---|
protected int |
index |
protected Optional<String> |
value |
| Constructor and Description |
|---|
SimpleArgument(int index,
String value) |
| Modifier and Type | Method and Description |
|---|---|
int |
index()
Gets the index of the argument
|
boolean |
isPresent()
Gets if the argument is present
|
Optional<String> |
value()
Gets the value of the argument
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassertPresent, parse, parse, parse, parseOrFail, parseOrFail, parseOrFailCopyright © 2020. All rights reserved.