Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4439572

Would be nice to have Arrays.hashCode

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 1.4.0
    • core-libs
    • None
    • generic
    • generic

      Arrays.equals(byte [], byte []) and the similar methods for different types of
      arrays are handy. It would be nice to have Arrays.hashCode(byte []) and similar
      methods for the different types of arrays as well. This would provide a single
      location for code that is or should be used widely (in hashCode methods for classes where the results of the equals method is based on the contents of an array).

            jjb Josh Bloch
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: