| Author |
How to use binarySeach in Array?
|
azuki ooh
Greenhorn
Joined: Nov 07, 2008
Posts: 20
|
|
I have a method that goes like this. I'm suppose to make use of binarySearch method in array. Is this not how binarySeach method work?
>
|
 |
azuki ooh
Greenhorn
Joined: Nov 07, 2008
Posts: 20
|
|
|
Resolved. Since binarySearch is a static method in Arrays, I need a Arrays.binarySearch(alpahaArray, 'a');
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32712
|
|
|
I can see no sign of binary searching, or any other type of searching, in that post.
|
 |
 |
|
|
subject: How to use binarySeach in Array?
|
|
|