public abstract class ParameterMap extends Object
Constructor and Description |
---|
ParameterMap() |
Modifier and Type | Method and Description |
---|---|
static Integer |
getIntValue(String key,
Object value,
Integer defaultValue) |
static boolean |
getKeyedBoolean(Map map,
String key,
boolean defValue)
This method is used to lookup a specific key in the map.
|
static int |
getKeyedDecodedInteger(Map map,
String key,
int defValue)
This method is used to lookup a specific key in the map.
|
static long |
getKeyedDecodedLong(Map map,
String key,
long defValue)
This method is used to lookup a specific key in the map.
|
static int |
getKeyedInteger(Map map,
String key,
int defValue)
This method is used to lookup a specific key in the map.
|
static int[] |
getKeyedIntegerArray(Map map,
String key,
int[] defValues)
This method is used to lookup a specific key in the map.
|
static long |
getKeyedLong(Map map,
String key,
long defValue)
This method is used to lookup a specific key in the map.
|
static long |
getKeyedLongImmutable(Map map,
String key,
long defValue)
Same as getKeyedLong, but does not mutate the map
|
static String |
getKeyedString(Map map,
String key,
String defValue)
This method is used to lookup a specific key in the map.
|
static <T> T |
getKeyedValue(Map<String,T> map,
String key,
T defValue)
This method is used to lookup a specific key in the map.
|
static Long |
getLongValue(String key,
Object value,
Long defaultValue) |
public static long getKeyedLong(Map map, String key, long defValue)
public static long getKeyedLongImmutable(Map map, String key, long defValue)
public static long getKeyedDecodedLong(Map map, String key, long defValue)
public static int getKeyedInteger(Map map, String key, int defValue)
public static final int[] getKeyedIntegerArray(Map map, String key, int[] defValues)
public static int getKeyedDecodedInteger(Map map, String key, int defValue)
public static String getKeyedString(Map map, String key, String defValue)
public static boolean getKeyedBoolean(Map map, String key, boolean defValue)
public static <T> T getKeyedValue(Map<String,T> map, String key, T defValue)
Copyright © 2021. All rights reserved.