- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for index (0.06 sec)
-
android/guava/src/com/google/common/base/CharMatcher.java
} } } @Override public boolean matches(char c) { int index = Arrays.binarySearch(rangeStarts, c); if (index >= 0) { return true; } else { index = ~index - 1; return index >= 0 && c <= rangeEnds[index]; } } @Override public String toString() { return description; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 53.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
* of the array becomes null only when we iterate past it and then clear it. */ I result = requireNonNull(elements[index]); elements[index] = null; index++; return result; } }; } /** * Combines two iterators into a single iterator. The returned iterator iterates across the
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 03 14:46:32 UTC 2024 - 50.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterators.java
* of the array becomes null only when we iterate past it and then clear it. */ I result = requireNonNull(elements[index]); elements[index] = null; index++; return result; } }; } /** * Combines two iterators into a single iterator. The returned iterator iterates across the
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 03 14:46:32 UTC 2024 - 50.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
} @Override public int size() { return valueList.size(); } @Override @CheckForNull public V get(@CheckForNull Object key) { int index = keySet.indexOf(key); return (index == -1) ? null : valueList.get(index); } @Override boolean isPartialView() { return keySet.isPartialView() || valueList.isPartialView(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 53K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
* Arrays.asList("Inky", "Blinky", "Pinky", "Pinky", "Clyde"); * Function<String, Integer> stringLengthFunction = ...; * Multimap<Integer, String> index = * Multimaps.index(badGuys, stringLengthFunction); * System.out.println(index); * }</pre> * * <p>prints * * <pre>{@code * {4=[Inky], 6=[Blinky], 5=[Pinky, Pinky, Clyde]} * }</pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 86.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimaps.java
* Arrays.asList("Inky", "Blinky", "Pinky", "Pinky", "Clyde"); * Function<String, Integer> stringLengthFunction = ...; * Multimap<Integer, String> index = * Multimaps.index(badGuys, stringLengthFunction); * System.out.println(index); * }</pre> * * <p>prints * * <pre>{@code * {4=[Inky], 6=[Blinky], 5=[Pinky, Pinky, Clyde]} * }</pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 86.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
} final class PickyIterator implements Iterator<E> { int expectedModCount = modCount; int index = 0; boolean canRemove; @Override public boolean hasNext() { checkConcurrentModification(); return index < elements.size(); } @Override public E next() { checkConcurrentModification();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 03 13:01:51 UTC 2024 - 55.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* * <p>"In the order that they complete" means, for practical purposes, about what you would * expect, but there are some subtleties. First, we do guarantee that, if the output future at * index n is done, the output future at index n-1 is also done. (But as usual with futures, some * listeners for future n may complete before some for future n-1.) However, it is possible, if
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 59.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Futures.java
* * <p>"In the order that they complete" means, for practical purposes, about what you would * expect, but there are some subtleties. First, we do guarantee that, if the output future at * index n is done, the output future at index n-1 is also done. (But as usual with futures, some * listeners for future n may complete before some for future n-1.) However, it is possible, if
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 64.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
Maps.uniqueIndex(ImmutableSet.of("one", "uno"), Functions.constant(1)); fail(); } catch (IllegalArgumentException expected) { assertThat(expected.getMessage()).contains("Multimaps.index"); } } /** Null values are not allowed. */ public void testUniqueIndexNullValue() { List<@Nullable String> listWithNull = Lists.newArrayList((String) null); try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 67.1K bytes - Viewed (0)