Package com.google.guava.labs.collect
package com.google.guava.labs.collect
BinarySearch and some extra collectors for Guava (requires mug-guava artifact)
The code is developed and tested under Java 8.0.-
ClassDescriptionGeneric binary search algorithm with support for and beyond sorted lists and arrays, in a fluent API.Represents the search target that can be found through bisecting the double domain.Represents the search target that can be found through bisecting the integer domain.Represents the search target that can be found through bisecting the long integer domain.BinarySearch.Table<K, C extends Comparable<C>>Like a hash table, allows looking up comparable values by a key, except the lookup is through binary search instead of hashing.Guava-specific Collectors and BiCollectors.InsertionPoint<C extends Comparable<C>>Represents a result of
BinarySearch
.