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

  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 Details

  - ### MapUtil

    public MapUtil()

- ## Method Details

  - ### 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.