Search:

Type: Posts; User: Json

Search: Search took 0.07 seconds.

  1. Re: Having trouble insert/sorting array values w/ binary searching.

    So I take it you have to implement the whole sorting your self then, so you cant just use a simple Treeset to do it for you?



    public static void main(String[] args) {
    final...
  2. Re: Having trouble insert/sorting array values w/ binary searching.

    First of all you need to have a look at the binarySearch definition.



    As you can see above a binarySearch requires the array to be sorted before you can search it as using the Arrays.sort...
Results 1 to 2 of 2