Class MapUtils


  • public final class MapUtils
    extends Object
    Since:
    1.0
    Author:
    Daniel Fernández
    • Method Detail

      • size

        public static int size(Map<?,?> target)
      • isEmpty

        public static boolean isEmpty(Map<?,?> target)
      • containsKey

        public static <X> boolean containsKey(Map<? super X,?> target,
                                              X key)
      • containsAllKeys

        public static <X> boolean containsAllKeys(Map<? super X,?> target,
                                                  X[] keys)
      • containsAllKeys

        public static <X> boolean containsAllKeys(Map<? super X,?> target,
                                                  Collection<X> keys)
      • containsValue

        public static <X> boolean containsValue(Map<?,? super X> target,
                                                X value)
      • containsAllValues

        public static <X> boolean containsAllValues(Map<?,? super X> target,
                                                    X[] values)
      • containsAllValues

        public static <X> boolean containsAllValues(Map<?,? super X> target,
                                                    Collection<X> values)