Interface ParameterMap

All Superinterfaces:
Serializable

@GwtCompatible public interface ParameterMap extends Serializable
An object that maps Parameter to values. Each parameter must have an unique identifier represented by Parameter.getName().
Since:
5.1.19
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    get(Parameter<T> parameter)
    Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
    <T> void
    put(Parameter<T> parameter, T value)
    Associates the specified value with the specified Parameter in this map.
  • Method Details

    • put

      <T> void put(Parameter<T> parameter, @Nullable T value)
      Associates the specified value with the specified Parameter in this map.
      Type Parameters:
      T - Value type.
      Parameters:
      parameter - Parameter with which the specified value is to be associated
      value - Value to be associated with the specified key
      Since:
      5.1.19
    • get

      @Nullable <T> T get(Parameter<T> parameter)
      Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
      Type Parameters:
      T - Value type.
      Parameters:
      parameter - The parameter whose associated value is to be returned
      Returns:
      The value to which the specified key is mapped, or null if this map contains no mapping for the key.
      Since:
      5.1.19