Class ListUtils

java.lang.Object
com.mchange.v1.util.ListUtils

public final class ListUtils extends Object
  • Constructor Details

    • ListUtils

      public ListUtils()
  • Method Details

    • oneElementUnmodifiableList

      public static List oneElementUnmodifiableList(Object elem)
    • equivalent

      public static boolean equivalent(List a, List b)
    • hashContents

      public static int hashContents(List l)
      finds a hash value which takes into account the value of all elements, such that two sets for which equivalent(a, b) returns true will hashContents() to the same value