Package org.apache.storm.kafka.migration

## Class MapUtil

- java.lang.Object
- - org.apache.storm.kafka.migration.MapUtil

-     public class MapUtil
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `MapUtil()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static <T> T` | `getOrError​(Map<String,​Object> conf, String key)` | Get value for key.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MapUtil

          public MapUtil()

  - ### Method Detail

    - #### getOrError

          public static <T> T getOrError​(Map<String,​Object> conf,
                                         String key)

      Get value for key. Error if value is null or not the expected type.