Class ParameterMap

    • Constructor Detail

      • ParameterMap

        public ParameterMap()
        Constructor
    • Method Detail

      • putIfAbsent

        public Object putIfAbsent​(String key,
                                  Object object)
        Method to add a key / value if it doesn't exist in this map
        Specified by:
        putIfAbsent in interface Map<String,​Object>
        Overrides:
        putIfAbsent in class HashMap<String,​Object>
        Parameters:
        key - key with which the specified value is to be associated
        object - value to be associated with the specified key
        Returns:
      • get

        public <T> T get​(String key)
        Method to get value from the map
        Type Parameters:
        T -
        Parameters:
        key -
        Returns:
      • get

        public <T> T get​(String key,
                         Class<T> clazz)
        Method to get a value from the map cast to a specific type
        Type Parameters:
        T -
        Parameters:
        clazz -
        Returns: