Class MapUtils


  • public final class MapUtils
    extends Object
    Map utilities. Replicates Apache Commons Collections.
    • Method Detail

      • isNotEmpty

        public static boolean isNotEmpty​(Map<?,​?> map)
        Returns true if the specified map is not null and not empty.
        Parameters:
        map - The map. May be null.
        Returns:
        true if the map is not null and not empty, else false.