Uses of Class
com.google.mu.collect.InsertionPoint
Packages that use InsertionPoint
-
Uses of InsertionPoint in com.google.mu.collect
Methods in com.google.mu.collect that return InsertionPointModifier and TypeMethodDescriptionstatic InsertionPoint
<Double> InsertionPoint.after
(double floor) Returns an insertion point immediately afterfloor
.static InsertionPoint
<Integer> InsertionPoint.after
(int floor) Returns an insertion point immediately after the givenfloor
and before the next integer (ifceiling
isn'tInteger.MAX_VALUE
).static InsertionPoint
<Long> InsertionPoint.after
(long floor) Returns an insertion point immediately after the givenfloor
and before the next integer (ifceiling
isn'tLong.MAX_VALUE
).static <C extends Comparable<C>>
InsertionPoint<C> InsertionPoint.after
(C floor, com.google.common.collect.DiscreteDomain<C> domain) Returns an insertion point immediately after the givenfloor
and before the next element in the given discretedomain
(if a next element exists).static <C extends Comparable<C>>
InsertionPoint<C> InsertionPoint.at
(C element) Returns an insertion point exactly atelement
such thatexact()
,floor
andceiling
all return the same element.static InsertionPoint
<Double> InsertionPoint.before
(double ceiling) Returns an insertion point immediately beforeceiling
.static InsertionPoint
<Integer> InsertionPoint.before
(int ceiling) Returns an insertion point immediately before the givenceiling
and after the previous integer (ifceiling
isn'tInteger.MIN_VALUE
).static InsertionPoint
<Long> InsertionPoint.before
(long ceiling) Returns an insertion point immediately before the givenceiling
and after the previous integer (ifceiling
isn'tLong.MIN_VALUE
).static <C extends Comparable<C>>
InsertionPoint<C> InsertionPoint.before
(C ceiling, com.google.common.collect.DiscreteDomain<C> domain) Returns an insertion point immediately before the givenceiling
and after the previous element in the given discretedomain
(if a previous element exists).static InsertionPoint
<Double> InsertionPoint.between
(double floor, double ceiling) Returns an insertion point in the open range of(floor, ceiling)
.abstract InsertionPoint
<C> BinarySearch.Table.insertionPointAfter
(K target) Finds the insertion point immediately after the last element that's less than or equal to the target.abstract InsertionPoint
<C> BinarySearch.Table.insertionPointBefore
(K target) Finds the insertion point immediately before the first element that's greater than or equal to the target.abstract InsertionPoint
<C> BinarySearch.Table.insertionPointFor
(K target) Finds theInsertionPoint
iftarget
were to be added in order.Methods in com.google.mu.collect with parameters of type InsertionPoint