| Package | Description |
|---|---|
| org.lsst.gruth.jutils |
| Modifier and Type | Method and Description |
|---|---|
static MapArgs.LEntry |
MapArgs.a(String key,
Object value)
declares a parameter that is not open for modification.
|
static MapArgs.LEntry |
MapArgs.aBool(String key)
declares a modifiable parameter of type boolean
and initializes it to false
|
static MapArgs.LEntry |
MapArgs.aBool(String key,
Boolean value) |
static MapArgs.LEntry |
MapArgs.aBool(String key,
Boolean value,
Map<?,?> map) |
static MapArgs.LEntry |
MapArgs.aBool(String key,
String strVal) |
static MapArgs.LEntry |
MapArgs.aBool(String key,
String strVal,
Map<?,?> map) |
static MapArgs.LEntry |
MapArgs.aDbl(String key)
declares a modifiable parameter of type Double or BigDecimal
and does not initialize it.
|
static MapArgs.LEntry |
MapArgs.aDbl(String key,
BigDecimal value)
declares a modifiable parameter of type BigDecimal
and sets the initial value.
|
static MapArgs.LEntry |
MapArgs.aDbl(String key,
BigDecimal value,
Map<?,?> map) |
static MapArgs.LEntry |
MapArgs.aDbl(String key,
Double value)
declares a modifiable parameter of type Double
and sets the initial value.
|
static MapArgs.LEntry |
MapArgs.aDbl(String key,
Double value,
Map<?,?> map) |
static MapArgs.LEntry |
MapArgs.aDbl(String key,
String strVal)
declares a modifiable parameter of type BigDecimal
and sets the initial value with a (numeric) String
|
static MapArgs.LEntry |
MapArgs.aDbl(String key,
String strVal,
Map<?,?> map) |
static MapArgs.LEntry |
MapArgs.aList(String key,
double[] arrayDouble) |
static MapArgs.LEntry |
MapArgs.aList(String key,
float[] arrayFloat) |
static MapArgs.LEntry |
MapArgs.aList(String key,
List list)
declares a modifiable parameter which is a list of simple values
(do not use for references)
|
static MapArgs.LEntry |
MapArgs.aList(String key,
List list,
Map<?,?> map) |
static MapArgs.LEntry |
MapArgs.aMap(String key,
Map map)
declares a modifiable parameter which is a Map where values
are of a simple type (do not use for references)
|
static MapArgs.LEntry |
MapArgs.aMap(String key,
Map map,
Map props) |
static MapArgs.LEntry |
MapArgs.anArray(String key,
boolean[] array) |
static MapArgs.LEntry |
MapArgs.anArray(String key,
boolean[] array,
Map map) |
static MapArgs.LEntry |
MapArgs.anArray(String key,
byte[] array) |
static MapArgs.LEntry |
MapArgs.anArray(String key,
byte[] array,
Map map) |
static MapArgs.LEntry |
MapArgs.anArray(String key,
char[] array) |
static MapArgs.LEntry |
MapArgs.anArray(String key,
char[] array,
Map map) |
static MapArgs.LEntry |
MapArgs.anArray(String key,
double[] array) |
static MapArgs.LEntry |
MapArgs.anArray(String key,
double[] array,
Map map) |
static MapArgs.LEntry |
MapArgs.anArray(String key,
float[] array) |
static MapArgs.LEntry |
MapArgs.anArray(String key,
float[] array,
Map map) |
static MapArgs.LEntry |
MapArgs.anArray(String key,
int[] array)
declares a modifiable parameter of an array type.
|
static MapArgs.LEntry |
MapArgs.anArray(String key,
int[] array,
Map map) |
static MapArgs.LEntry |
MapArgs.anArray(String key,
Object[] array) |
static MapArgs.LEntry |
MapArgs.anArray(String key,
Object[] array,
Map map) |
static MapArgs.LEntry |
MapArgs.anInt(String key)
declares a modifiable parameter of type Integer
and does not initialize it.
|
static MapArgs.LEntry |
MapArgs.anInt(String key,
Integer value)
declares a modifiable parameter of type Integer
and sets the initial value.
|
static MapArgs.LEntry |
MapArgs.anInt(String key,
Integer value,
Map<?,?> map) |
static MapArgs.LEntry |
MapArgs.anInt(String key,
String strVal)
declares a modifiable parameter of type Integer
and sets the initial value with a (numeric) String
|
static MapArgs.LEntry |
MapArgs.anInt(String key,
String strVal,
Map<?,?> map) |
static MapArgs.LEntry |
MapArgs.aRef(String key)
declares a modifiable parameter of type Object
whose reference will be later found using a name.
|
static MapArgs.LEntry |
MapArgs.aRef(String key,
String value)
declares a modifiable parameter of type Object
whose reference will be later found using a name.
|
static MapArgs.LEntry |
MapArgs.aRef(String key,
String value,
Map<?,?> map) |
static MapArgs.LEntry |
MapArgs.aString(String key)
declares a modifiable parameter of type String
but does not initialize it.
|
static MapArgs.LEntry |
MapArgs.aString(String key,
String value)
declares a modifiable parameter of type String
and sets the initials value.
|
static MapArgs.LEntry |
MapArgs.aString(String key,
String value,
Map<?,?> map)
declares a modifiable parameter of type String
sets the initials value and annotates some properties
|
static MapArgs.LEntry |
MapArgs.aVal(Serializable val)
same as aVal (key, value) but here the name of the key is generated from
the Class Name of the object.
|
static MapArgs.LEntry |
MapArgs.aVal(Serializable val,
Map properties) |
static MapArgs.LEntry |
MapArgs.aVal(String key,
Serializable val)
to be used for
any object that has :
Serializable implementation
a symmetric way of dealing with strings:
the toString() method returns a String that
can be used to create an Object through static method
valueOf(thatString)
A typical example are Enums
|
static MapArgs.LEntry |
MapArgs.aVal(String key,
Serializable val,
Map properties) |
MapArgs.LEntry |
MapArgs.LEntry.clone() |
MapArgs.LEntry[] |
MapArgs.getEntries() |
static MapArgs.LEntry |
MapArgs.ref(String key) |
| Modifier and Type | Method and Description |
|---|---|
static MapArgs |
MapArgs.argMap(MapArgs.LEntry... args)
used in combination with Entry factory methods such as a, anInt,
aDbl, aString, aRef
|
static BuiltParm |
BuiltParm.bldArray(MapArgs.LEntry... entries) |
static BuiltParm |
BuiltParm.bldList(MapArgs.LEntry... entries) |
static BuiltParm |
BuiltParm.bldMap(MapArgs.LEntry... entries) |
boolean |
MapArgs.overlap(boolean acceptNullValues,
MapArgs.LEntry entry)
modifies a local Entry with another entry with the same key
since modification could only operate on hollow parameters
this is used if the entry reference a HollowParm object.
|
Copyright © 2016 LSST. All rights reserved.