A java class that offers a template for binary searching inside an array.