Class MapHelper


  • public final class MapHelper
    extends Object
    Author:
    Marko A. Rodriguez (http://markorodriguez.com)
    • Method Detail

      • incr

        public static <T> void incr​(Map<T,​Long> map,
                                    T key,
                                    Long value)
      • incr

        public static <T> void incr​(Map<T,​Double> map,
                                    T key,
                                    Double value)
      • incr

        public static <T,​U> void incr​(Map<T,​List<U>> map,
                                            T key,
                                            U value)