Searched defs:presentBehavior (Results 1 - 3 of 3) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
H A DSortedListsTest.java42 KeyPresentBehavior presentBehavior, KeyAbsentBehavior absentBehavior) {
43 switch (presentBehavior) {
98 for (KeyPresentBehavior presentBehavior : KeyPresentBehavior.values()) {
102 SortedLists.binarySearch(LIST_WITHOUT_DUPS, key, presentBehavior, absentBehavior),
103 presentBehavior, absentBehavior);
110 for (KeyPresentBehavior presentBehavior : KeyPresentBehavior.values()) {
114 SortedLists.binarySearch(LIST_WITH_DUPS, key, presentBehavior, absentBehavior),
115 presentBehavior, absentBehavior);
41 assertModelAgrees(List<Integer> list, Integer key, int answer, KeyPresentBehavior presentBehavior, KeyAbsentBehavior absentBehavior) argument
/external/guava/guava/src/com/google/common/collect/
H A DSortedLists.java190 KeyPresentBehavior presentBehavior, KeyAbsentBehavior absentBehavior) {
193 list, checkNotNull(e), Ordering.natural(), presentBehavior, absentBehavior);
203 Function<? super E, K> keyFunction, K key, KeyPresentBehavior presentBehavior,
210 presentBehavior,
226 KeyPresentBehavior presentBehavior,
229 Lists.transform(list, keyFunction), key, keyComparator, presentBehavior, absentBehavior);
248 * @param presentBehavior the specification for what to do if at least one element of the list
256 Comparator<? super E> comparator, KeyPresentBehavior presentBehavior,
260 checkNotNull(presentBehavior);
278 return lower + presentBehavior
189 binarySearch(List<? extends E> list, E e, KeyPresentBehavior presentBehavior, KeyAbsentBehavior absentBehavior) argument
202 binarySearch(List<E> list, Function<? super E, K> keyFunction, K key, KeyPresentBehavior presentBehavior, KeyAbsentBehavior absentBehavior) argument
221 binarySearch( List<E> list, Function<? super E, K> keyFunction, K key, Comparator<? super K> keyComparator, KeyPresentBehavior presentBehavior, KeyAbsentBehavior absentBehavior) argument
255 binarySearch(List<? extends E> list, @Nullable E key, Comparator<? super E> comparator, KeyPresentBehavior presentBehavior, KeyAbsentBehavior absentBehavior) argument
[all...]
H A DImmutableSortedMap.java725 Object key, KeyPresentBehavior presentBehavior, KeyAbsentBehavior absentBehavior) {
727 keyList(), checkNotNull(key), unsafeComparator(), presentBehavior, absentBehavior);
724 index( Object key, KeyPresentBehavior presentBehavior, KeyAbsentBehavior absentBehavior) argument

Completed in 490 milliseconds