public interface Arguments
extends java.lang.Iterable<java.lang.Object>
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.String name) |
boolean |
contains(java.lang.String name,
java.lang.Object value) |
static Arguments |
create(java.lang.Object[] args) |
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() |
static Arguments create(java.lang.Object[] args)
java.lang.Object get(java.lang.String name)
java.lang.Object get(java.lang.String name, java.lang.Object defaultValue)
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.util.List<java.lang.Object> parameters()
int size()
java.lang.Object get(int n)
java.util.Iterator<java.lang.Object> iterator()
iterator
in interface java.lang.Iterable<java.lang.Object>
java.lang.Object get(int n, java.lang.Class elementClass, java.lang.Object defaultValue)
n
- elementClass
- defaultValue
- java.util.List getListOf(int n, java.lang.Class elementClass)
n
- elementClass
- java.lang.Object get(java.lang.String name, java.lang.Class elementClass, java.lang.Object defaultValue)
name
- elementClass
- defaultValue
- java.util.List getListOf(java.lang.String name, java.lang.Class elementClass)
name
- elementClass
-