|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.activemq.util.MapHelper
A bunch of utility methods for working with maps
| Constructor Summary | |
MapHelper()
|
|
| Method Summary | |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MapHelper()
| Method Detail |
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)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||