Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
flags |
protected java.util.List<java.lang.Object> |
parameters |
Constructor and Description |
---|
DefaultArguments(java.lang.Object[] args) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.String name) |
boolean |
contains(java.lang.String name,
java.lang.Object value) |
java.util.Map<java.lang.String,java.lang.Object> |
flags() |
java.lang.Object |
get(int n) |
java.lang.Object |
get(int n,
java.lang.Class elementClass,
java.lang.Object defaultValue)
Return the element of the parameters if exists and if is of the type
indicated.If parameters is null, don't have the element indicated, or the
element is not of the type required return null.
|
java.lang.Object |
get(java.lang.String name) |
java.lang.Object |
get(java.lang.String name,
java.lang.Class elementClass,
java.lang.Object defaultValue)
Return the element of the flags if exists and if is of the type
indicated.
|
java.lang.Object |
get(java.lang.String name,
java.lang.Object defaultValue) |
java.util.List |
getListOf(int n,
java.lang.Class elementClass)
Return the element of the parameters if this is a list of the indiqued
type.
|
java.util.List |
getListOf(java.lang.String name,
java.lang.Class elementClass)
Return the element of the flags if this is a list of the indiqued
type.
|
java.util.Iterator<java.lang.Object> |
iterator() |
java.util.List<java.lang.Object> |
parameters() |
int |
size() |
protected java.util.Map<java.lang.String,java.lang.Object> flags
protected java.util.List<java.lang.Object> parameters
public java.lang.Object get(java.lang.String name, java.lang.Object defaultValue)
public boolean contains(java.lang.String name)
public boolean contains(java.lang.String name, java.lang.Object value)
public java.util.List<java.lang.Object> parameters()
parameters
in interface Arguments
public java.util.Map<java.lang.String,java.lang.Object> flags()
public java.util.Iterator<java.lang.Object> iterator()
public java.lang.Object get(int n, java.lang.Class elementClass, java.lang.Object defaultValue)
Arguments
public java.util.List getListOf(int n, java.lang.Class elementClass)
Arguments
public java.lang.Object get(java.lang.String name, java.lang.Class elementClass, java.lang.Object defaultValue)
Arguments
public java.util.List getListOf(java.lang.String name, java.lang.Class elementClass)
Arguments