The type of items in the array.
The type of the item.
The index of the item in input
, if the item was found.
Otherwise, a negative index is returned indicating where the item can be inserted to
maintain the current order: returnValue == -insertion point - 1
.
The actual (positive) insertion index can be obtained by calculating -(returnValue + 1)
.
Performs binary search on a sorted array.