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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 36478
    
  16
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?
 
Similar Threads
Disappointed with JFormattedTextField
Exception while uploading a zip file on Linux OS
Array Index Out Of Bounds
Problem with using generics
[Easy] Shift String