public static int binarySearchSmaller ( int [ ] index , int key , int begin , int end ) { return binarySearchInterval ( index , key , begin , end , false ) ; }
Searches for a key in a sorted array and returns an index to an element which is smaller than or equal key .