Class MapUtil


  • public class MapUtil
    extends Object
    • 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.