Searched defs:binarySearch (Results 1 - 14 of 14) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
H A DComparatorOrdering.java44 @Override public int binarySearch(List<? extends T> sortedList, T key) { method in class:ComparatorOrdering
45 return Collections.binarySearch(sortedList, key, comparator);
H A DNaturalOrdering.java49 @Override public int binarySearch( method in class:NaturalOrdering
51 return Collections.binarySearch((List) sortedList, key);
H A DSortedLists.java169 * {@link java.util.Collections#binarySearch(List, Object)} when the key isn't present, since
186 * <p>Equivalent to {@link #binarySearch(List, Function, Object, Comparator, KeyPresentBehavior,
189 public static <E extends Comparable> int binarySearch(List<? extends E> list, E e, method in class:SortedLists
192 return binarySearch(
199 * <p>Equivalent to {@link #binarySearch(List, Function, Object, Comparator, KeyPresentBehavior,
202 public static <E, K extends Comparable> int binarySearch(List<E> list, method in class:SortedLists
205 return binarySearch(
218 * {@link #binarySearch(List, Object, Comparator, KeyPresentBehavior, KeyAbsentBehavior)} using
221 public static <E, K> int binarySearch( method in class:SortedLists
228 return binarySearch(
255 public static <E> int binarySearch(List<? extends E> list, @Nullable E key, method in class:SortedLists
[all...]
H A DRegularImmutableSortedSet.java76 return binarySearch(o) >= 0;
128 private int binarySearch(Object key) { method in class:RegularImmutableSortedSet
129 // TODO(kevinb): split this into binarySearch(E) and
139 return Collections.binarySearch(elements, key, unsafeComparator);
203 index = SortedLists.binarySearch(
206 index = SortedLists.binarySearch(
223 index = SortedLists.binarySearch(
226 index = SortedLists.binarySearch(
258 position = SortedLists.binarySearch(elements, (E) target, comparator(),
H A DOrdering.java487 * {@link Collections#binarySearch(List, Object, Comparator) Searches}
494 public int binarySearch(List<? extends T> sortedList, @Nullable T key) { method in class:Ordering
495 return Collections.binarySearch(sortedList, key, this);
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
H A DSparseIntArray.java64 int i = binarySearch(mKeys, 0, mSize, key);
77 int i = binarySearch(mKeys, 0, mSize, key);
99 int i = binarySearch(mKeys, 0, mSize, key);
164 return binarySearch(mKeys, 0, mSize, key);
220 private static int binarySearch(int[] a, int start, int len, int key) { method in class:SparseIntArray
H A DSparseArray.java71 int i = binarySearch(mKeys, 0, mSize, key);
84 int i = binarySearch(mKeys, 0, mSize, key);
134 int i = binarySearch(mKeys, 0, mSize, key);
151 i = ~binarySearch(mKeys, 0, mSize, key);
241 return binarySearch(mKeys, 0, mSize, key);
335 private static int binarySearch(int[] a, int start, int len, int key) { method in class:SparseArray
/external/webkit/Source/JavaScriptCore/wtf/
H A DStdLibExtras.h130 inline ArrayType* binarySearch(ArrayType* array, size_t size, KeyType key) function in namespace:WTF
164 using WTF::binarySearch;
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
H A DAreaCodeMap.java160 currentIndex = binarySearch(0, currentIndex, phonePrefix);
179 private int binarySearch(int start, int end, long value) { method in class:AreaCodeMap
/external/icu4c/i18n/
H A Dcsrmbcs.cpp93 static int32_t binarySearch(const uint16_t *array, int32_t len, uint16_t value) function
167 if (binarySearch(commonChars, commonCharsLen, iter.charValue) >= 0){
H A Ducurr.cpp1019 binarySearch(const CurrencyNameStruct* currencyNames, function
1187 matchIndex = binarySearch(currencyNames, index,
/external/jdiff/
H A Dxerces.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ org/apache/ org/apache/html/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 255 milliseconds