public class Binding extends Object
Constructor and Description |
---|
Binding() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Argument |
forName(String name)
Look up an argument by name
|
Argument |
forPosition(int position)
Look up an argument by position
|
Set<String> |
getNamedKeys() |
Set<Integer> |
getPositionalIndexes() |
boolean |
isEmpty() |
int |
sizeNamed() |
int |
sizePositional() |
String |
toString() |
public void clear()
public Argument forName(String name)
name
- the key to lookup the value ofpublic Argument forPosition(int position)
position
- starts at 0, not 1public Set<Integer> getPositionalIndexes()
public boolean isEmpty()
public int sizeNamed()
public int sizePositional()
Copyright © 2018. All rights reserved.