|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.collections.MapUtils
org.mule.util.MapUtils
| Constructor Summary | |
MapUtils()
|
|
| Method Summary | |
static Map |
mapWithKeysAndValues(Class mapClass,
Collection keys,
Collection values)
Convenience method for CollectionUtil#mapWithKeysAndValues(Class, Iterator, Iterator); keys and values can be null or empty. |
static Map |
mapWithKeysAndValues(Class mapClass,
Iterator keys,
Iterator values)
Create & populate a Map of arbitrary class. |
static Map |
mapWithKeysAndValues(Class mapClass,
Object[] keys,
Object[] values)
Convenience method for CollectionUtil#mapWithKeysAndValues(Class, Iterator, Iterator); keys and values can be null or empty. |
static String |
toString(Map props,
boolean newline)
Creates a String representation of the given Map, with optional newlines between elements. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MapUtils()
| Method Detail |
public static Map mapWithKeysAndValues(Class mapClass,
Object[] keys,
Object[] values)
public static Map mapWithKeysAndValues(Class mapClass,
Collection keys,
Collection values)
public static Map mapWithKeysAndValues(Class mapClass,
Iterator keys,
Iterator values)
mapClass - the Class of the Map to instantiatekeys - iterator for Objects ued as keysvalues - iterator for Objects used as values
public static String toString(Map props,
boolean newline)
props - the map to formatnewline - indicates whether elements are to be split across lines
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||