aspose file tools*
The moose likes Beginning Java and the fly likes How to use binarySeach in Array? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to use binarySeach in Array?" Watch "How to use binarySeach in Array?" New topic
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: 38765
    
  23
I can see no sign of binary searching, or any other type of searching, in that post.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use binarySeach in Array?