Class Maps

java.lang.Object
com.mirth.connect.userutil.Maps

public class Maps extends Object
Convenience class to allow fluent building of maps.
  • Constructor Details

    • Maps

      public Maps()
  • Method Details

    • map

      public static MapBuilder map()
      Instantiates a new MapBuilder using a HashMap.
      Returns:
      The new MapBuilder instance.
    • map

      public static MapBuilder map(Object key, Object value)
      Instantiates a new MapBuilder using a HashMap and the given key/value entry.
      Parameters:
      key - key with which the specified value is to be associated
      value - value to be associated with the specified key
      Returns:
      The new MapBuilder instance.
    • map

      public static MapBuilder map(Map map)
      Instantiates a new MapBuilder using the given map.
      Parameters:
      map - The delegate map to use.
      Returns:
      The new MapBuilder instance.