This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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


Win a copy of Building Microservices this week in the Design forum!
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: 44038
    
  33
I can see no sign of binary searching, or any other type of searching, in that post.
 
Have you checked out Aspose?
 
subject: How to use binarySeach in Array?
 
It's not a secret anymore!