Uses of Enum Class
com.google.common.collect.SortedLists.KeyPresentBehavior
Packages that use SortedLists.KeyPresentBehavior
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of SortedLists.KeyPresentBehavior in com.google.common.collect
Methods in com.google.common.collect that return SortedLists.KeyPresentBehaviorModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static SortedLists.KeyPresentBehavior[]
SortedLists.KeyPresentBehavior.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.google.common.collect with parameters of type SortedLists.KeyPresentBehaviorModifier and TypeMethodDescriptionstatic <E extends Comparable>
intSortedLists.binarySearch
(List<? extends E> list, E e, SortedLists.KeyPresentBehavior presentBehavior, SortedLists.KeyAbsentBehavior absentBehavior) Searches the specified naturally ordered list for the specified object using the binary search algorithm.static <E> int
SortedLists.binarySearch
(List<? extends E> list, E key, Comparator<? super E> comparator, SortedLists.KeyPresentBehavior presentBehavior, SortedLists.KeyAbsentBehavior absentBehavior) Searches the specified list for the specified object using the binary search algorithm.static <E,
K extends Comparable>
intSortedLists.binarySearch
(List<E> list, Function<? super E, K> keyFunction, K key, SortedLists.KeyPresentBehavior presentBehavior, SortedLists.KeyAbsentBehavior absentBehavior) Binary searches the list for the specified key, using the specified key function.static <E,
K> int SortedLists.binarySearch
(List<E> list, Function<? super E, K> keyFunction, K key, Comparator<? super K> keyComparator, SortedLists.KeyPresentBehavior presentBehavior, SortedLists.KeyAbsentBehavior absentBehavior) Binary searches the list for the specified key, using the specified key function.