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

Arrays.binarySearch(String[] array, String key) returns incorrect result

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      The result of Arrays.binarySearch(new String[] { "1999", "2999", "3399", "3999", "4099", "4599", "4999", "5199", "5299", "5399", "5999", "6999", "4499", "4699" }, "6999") is -15
      FREQUENCY : always


            tongwan Andrew Wang
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: