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