public class MapUtils extends Object
| Constructor and Description |
|---|
MapUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
removeBooleanProperty(Map properties,
String key,
boolean defaultValue)
Returns a boolean property from a Map and removes it.
|
static int |
removeIntProperty(Map properties,
String key,
int defaultValue)
Returns an int property from a Map and removes it.
|
static long |
removeLongProperty(Map properties,
String key,
long defaultValue)
Returns a long property from a Map and removes it.
|
static Object |
removeObjectProperty(Map properties,
String key,
Object defaultValue)
Returns an Object property from a Map and removes it.
|
static String |
removeStringProperty(Map properties,
String key,
String defaultValue)
Returns a String property from a Map and removes it.
|
public static int removeIntProperty(Map properties, String key, int defaultValue)
properties - key - defaultValue - public static long removeLongProperty(Map properties, String key, long defaultValue)
properties - key - defaultValue - public static String removeStringProperty(Map properties, String key, String defaultValue)
properties - key - defaultValue - public static boolean removeBooleanProperty(Map properties, String key, boolean defaultValue)
properties - key - defaultValue - Copyright © The Apache Software Foundation. All Rights Reserved.