public final class MapHelper extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static int |
getInt(java.util.Map map,
java.lang.String key,
int defaultValue)
Extracts the value from the map and coerces to an int value or returns a
default value if one could not be found or coerced
|
static java.lang.String |
getString(java.util.Map map,
java.lang.String key)
Extracts the value from the map and coerces to a String
|
public static java.lang.String getString(java.util.Map map, java.lang.String key)
public static int getInt(java.util.Map map, java.lang.String key, int defaultValue)
Copyright © 2005-2017. All Rights Reserved.