Class MapUtils


  • public final class MapUtils
    extends java.lang.Object
    Deprecated.
    Oops! Doesn't conform to Map equals() / hashCode() contract!
    • Constructor Summary

      Constructors 
      Constructor Description
      MapUtils()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static boolean equivalentDisregardingSort​(java.util.Map a, java.util.Map b)
      Deprecated.
       
      static int hashContentsDisregardingSort​(java.util.Map m)
      Deprecated.
      finds a hash value which takes into account the value of all elements, such that two maps for which equivalentDisregardingSort(a, b) returns true will hashContentsDisregardingSort() to the same value
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapUtils

        public MapUtils()
        Deprecated.
    • Method Detail

      • equivalentDisregardingSort

        public static boolean equivalentDisregardingSort​(java.util.Map a,
                                                         java.util.Map b)
        Deprecated.
      • hashContentsDisregardingSort

        public static int hashContentsDisregardingSort​(java.util.Map m)
        Deprecated.
        finds a hash value which takes into account the value of all elements, such that two maps for which equivalentDisregardingSort(a, b) returns true will hashContentsDisregardingSort() to the same value