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 <String, T>.
  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 DIRuntimeException

      Throws:
        `DIRuntimeException`

    - #### put

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

      Throws:
        `DIRuntimeException`

    - #### putAll

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

      Throws:
        `DIRuntimeException`

    - #### in

          void in(Scope scope)

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