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

(str) add static int hashCode(int start, int end)

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      A DESCRIPTION OF THE REQUEST :
      The String class should support a static method like this:

      public static hashCode(int start, int end)
      {
          ...
      }


      JUSTIFICATION :
      Currently you have to build sub strings to do this, which is expensive. Or you have to copy/paste the hashCode implementation from String class and implement it yourself.


      Attachments

        Activity

          People

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: