Binary search in an ordered list in java

binary, java, list, search

Solution

The algorithm should be the same for both an `ArrayList` and a `List`, given they are both ordered.

Problem

Im looking for a way to implement a code in java that works the same way as a binary search in an ordered ArrayList but for an ordered List Thanks

Original source