Package com.mirth.connect.userutil
Class Maps
java.lang.Object
com.mirth.connect.userutil.Maps
Convenience class to allow fluent building of maps.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MapBuildermap()Instantiates a newMapBuilderusing a HashMap.static MapBuilderInstantiates a newMapBuilderusing a HashMap and the given key/value entry.static MapBuilderInstantiates a newMapBuilderusing the given map.
-
Constructor Details
-
Maps
public Maps()
-
-
Method Details
-
map
Instantiates a newMapBuilderusing a HashMap.- Returns:
- The new
MapBuilderinstance.
-
map
Instantiates a newMapBuilderusing a HashMap and the given key/value entry.- Parameters:
key- key with which the specified value is to be associatedvalue- value to be associated with the specified key- Returns:
- The new
MapBuilderinstance.
-
map
Instantiates a newMapBuilderusing the given map.- Parameters:
map- The delegate map to use.- Returns:
- The new
MapBuilderinstance.
-