title: Java's equivalent to bisect in python
body: <p>Is there an equivalent in Java for Python's <a href="http://docs.python.org/library/bisect.html" rel="noreferrer">bisect module</a>? With Python's bisect you can do array bisection with directions. For instance <code>bisect.bisect_left</code> does:</p>
  
  <blockquote>
    <p>Locate the proper insertion point for item in list to maintain sorted order. The parameters lo and hi may be used to specify a subset of the list which should be considered; by default the entire list is used.</p>
  </blockquote>
  
  <p>I know I can do this manually with a binary search too, but I was wondering if there is already a library or collection doing this.</p>