Class XMapUtils


  • public class XMapUtils
    extends Object
    Utility class for operations on Maps
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • computeSumOfListSizes

        public static final <K,​V> Integer computeSumOfListSizes​(Map<K,​List<V>> mapOfLists)
        Computes the sum of the sizes of all list contained within the given map
        Parameters:
        mapOfLists - Map containing lists as values
        Returns:
        Integer sum of list sizes