Package-level declarations
Functions
Link copied to clipboard
fun <T, D> binarySearchExact(target: T, list: ArrayList<D>, comparator: BinarySearchComparator<T, D>): Int
Perform a binary search for an item that matches exactly.
Link copied to clipboard
fun <T, D> binarySearchExactOrRightAbove(target: T, list: ArrayList<D>, comparator: BinarySearchComparator<T, D>): Int
Perform a binary search for an item that matches exactly or has value right above the target.
Link copied to clipboard
fun <T, D> binarySearchExactOrRightBelow(target: T, list: ArrayList<D>, comparator: BinarySearchComparator<T, D>): Int
Perform a binary search for an item that matches exactly or has value right below the target.