- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 529 for Iterators (0.05 sec)
-
guava/src/com/google/common/collect/ImmutableMap.java
return ImmutableMap.this.isHashCodeFast(); } @Override UnmodifiableIterator<Entry<K, ImmutableSet<V>>> entryIterator() { Iterator<Entry<K, V>> backingIterator = ImmutableMap.this.entrySet().iterator(); return new UnmodifiableIterator<Entry<K, ImmutableSet<V>>>() { @Override public boolean hasNext() { return backingIterator.hasNext(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java
return value; } }; } private static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> control( K key, V value) { return singletonMap(key, value).entrySet().iterator().next(); } public void testToString() { assertEquals("foo=1", entry("foo", 1).toString()); } public void testToStringNull() { assertEquals("null=1", entry(NK, 1).toString());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
* <i>only</i> if the caller knows that the collection does not contain any null elements. * * <p>This method returns the elements in the order they are returned by the collection's * iterator. * * <p>TODO(kevinb): support concurrently modified collections? * * @param c the collection for which to return an array of elements * @param array the array in which to place the collection elements
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ObjectArrays.java
* <i>only</i> if the caller knows that the collection does not contain any null elements. * * <p>This method returns the elements in the order they are returned by the collection's * iterator. * * <p>TODO(kevinb): support concurrently modified collections? * * @param c the collection for which to return an array of elements * @param array the array in which to place the collection elements
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
for (i in 0 until namesAndValues.size) { result += namesAndValues[i].length.toLong() } return result } override operator fun iterator(): Iterator<Pair<String, String>> = commonIterator() fun newBuilder(): Builder = commonNewBuilder() /** * Returns true if `other` is a `Headers` object with the same headers, with the same casing, in
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multiset.java
// Refined Collection Methods /** * {@inheritDoc} * * <p>Elements that occur multiple times in the multiset will appear multiple times in this * iterator, though not necessarily sequentially. */ @Override Iterator<E> iterator(); /** * Determines whether this multiset contains the specified element. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 20.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
assertEquals(UTF_8, ArbitraryInstances.get(Charset.class)); assertNotNull(ArbitraryInstances.get(UUID.class)); } public void testGet_collections() { assertEquals(ImmutableSet.of().iterator(), ArbitraryInstances.get(Iterator.class)); assertFalse(ArbitraryInstances.get(PeekingIterator.class).hasNext()); assertFalse(ArbitraryInstances.get(ListIterator.class).hasNext());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 21.8K bytes - Viewed (0) -
docs/features/caching.md
cache.delete() ``` ## Pruning the Cache Pruning the entire Cache to clear space temporarily can be done using evictAll. ```kotlin cache.evictAll() ``` Removing individual items can be done using the urls iterator. This would be typical after a user initiates a force refresh by a pull to refresh type action. ```java val urlIterator = cache.urls() while (urlIterator.hasNext()) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
View(HashBiMap<K, V> biMap) { this.biMap = biMap; } @ParametricNullness abstract T forEntry(int entry); @Override public Iterator<T> iterator() { return new Iterator<T>() { private int index = biMap.firstInInsertionOrder; private int indexToRemove = ABSENT; private int expectedModCount = biMap.modCount;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 36.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java
Map<String, Collection<Integer>> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } String keyToRemove = map.keySet().iterator().next(); if (supportsRemove) { int initialSize = map.size(); // var oldValue = map.get(keyToRemove); map.remove(keyToRemove); // This line doesn't hold - see the Javadoc comments above.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 14:47:20 UTC 2025 - 3K bytes - Viewed (0)