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 and Description
    `MapUtil()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and 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.

Copyright © 2021 The Apache Software Foundation. All rights reserved.