org.apache.cayenne.di

## Interface MapBuilder<T>

- Type Parameters:
    `T` - A type of the map values.

      public interface MapBuilder<T>

  A binding builder for map configurations. Creates a parameterized map of type .
  Since:
    3.1

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `in(Scope scope)`
    `MapBuilder<T>` | `put(String key, Class<? extends T> interfaceType)`
    `MapBuilder<T>` | `put(String key, T value)`
    `MapBuilder<T>` | `putAll(Map<String,T> map)`

- - ### Method Detail

    - #### put

          MapBuilder<T> put(String key,
                            Class<? extends T> interfaceType)
                     throws ConfigurationException

      Throws:
        `ConfigurationException`

    - #### put

          MapBuilder<T> put(String key,
                            T value)
                     throws ConfigurationException

      Throws:
        `ConfigurationException`

    - #### putAll

          MapBuilder<T> putAll(Map<String,T> map)
                        throws ConfigurationException

      Throws:
        `ConfigurationException`

    - #### in

          void in(Scope scope)

Copyright © 2001–2017 Apache Cayenne. All rights reserved.