Uses of Class
com.google.guava.labs.collect.BinarySearch.Table
Packages that use BinarySearch.Table
Package
Description
BinarySearch and some extra collectors for Guava (requires mug-guava artifact)
- 
Uses of BinarySearch.Table in com.google.guava.labs.collect
Methods in com.google.guava.labs.collect that return BinarySearch.TableModifier and TypeMethodDescriptionfinal <Q> BinarySearch.Table<Q, C> Returns a newBinarySearch.Tableover the same source but transforms the search target using the givenkeyFunctionfirst.BinarySearch.forDoubles()Returns aBinarySearch.Tableover all finite double values (exceptDouble.NaN,Double.NEGATIVE_INFINITYandDouble.POSITIVE_INFINITY).BinarySearch.forDoubles(Range<Double> range) Similar toBinarySearch.forInts(Range), but returns aBinarySearch.Tableover the givenrangeofdoubleprecision numbers.BinarySearch.forInts()Returns aBinarySearch.Tableover all integers.Returns aBinarySearch.Tableover the givenrange.BinarySearch.forLongs()Similar toBinarySearch.forInts(Range), but returns aBinarySearch.Tableover the givenrangeoflongintegers.static BinarySearch.Table<Integer, Integer> BinarySearch.inSortedArray(int[] array) Returns aBinarySearch.Tableto search for array element indexes in the given sorted intarray.static BinarySearch.Table<Long, Integer> BinarySearch.inSortedArray(long[] array) Returns aBinarySearch.Tableto search for array element indexes in the given sorted longarray.static BinarySearch.Table<Double, Integer> BinarySearch.inSortedArrayWithTolerance(double[] array, double tolerance) Returns aBinarySearch.Tableto search for array element indexes in the given sorted doublearray.static <E extends Comparable<E>>
BinarySearch.Table<E, Integer> BinarySearch.inSortedList(List<? extends E> list) Returns aBinarySearch.Tableto search for element indexes in the given sortedlist.static <E> BinarySearch.Table<E, Integer> BinarySearch.inSortedList(List<? extends E> list, Comparator<? super E> sortedBy) Returns aBinarySearch.Tableto search for element indexes in the given sortedlistaccording tocomparator.static <Q extends Comparable<Q>, E>
BinarySearch.Table<Q, Integer> BinarySearch.inSortedList(List<? extends E> list, Function<? super E, ? extends Q> sortedBy) Returns aBinarySearch.Tableto search for element indexes in the givenlistsorted by thesortByfunction.static BinarySearch.Table<Double, Integer> BinarySearch.inSortedListWithTolerance(List<Double> list, double tolerance) Returns aBinarySearch.Tableto search for element indexes in the given list of sorteddoublevalues.