Class MapHelper


  • public final class MapHelper
    extends Object
    A bunch of utility methods for working with maps
    • Method Detail

      • getString

        public static String getString​(Map map,
                                       String key)
        Extracts the value from the map and coerces to a String
      • getInt

        public static int getInt​(Map map,
                                 String key,
                                 int defaultValue)
        Extracts the value from the map and coerces to an int value or returns a default value if one could not be found or coerced