- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 914 for iterate (0.07 sec)
-
guava/src/com/google/common/cache/LocalCache.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 149.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
assertFalse(CharSource.concat(c1, c2, c3).isEmpty()); CharSource emptyConcat = CharSource.concat(CharSource.empty(), CharSource.empty()); assertTrue(emptyConcat.isEmpty()); } public void testConcat_infiniteIterable() throws IOException { CharSource source = CharSource.wrap("abcd");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 11.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
} @Override ImmutableSet<Entry<K, V>> createEntrySet() { class EntrySet extends ImmutableMapEntrySet<K, V> { @Override public UnmodifiableIterator<Entry<K, V>> iterator() { return asList().iterator(); } @Override public Spliterator<Entry<K, V>> spliterator() { return asList().spliterator(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java
* 初期容量 */ public CaseInsensitiveSet(final int initialCapacity) { map = new CaseInsensitiveMap<>(initialCapacity); } @Override public Iterator<String> iterator() { return map.keySet().iterator(); } @Override public int size() { return map.size(); } @Override public boolean isEmpty() { return map.isEmpty(); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
multimap.put("foo", 2); multimap.put("bar", 3); Collection<Entry<String, Integer>> entries = multimap.entries(); Iterator<Entry<String, Integer>> iterator = entries.iterator(); Entry<String, Integer> entrya = iterator.next(); Entry<String, Integer> entryb = iterator.next(); assertEquals(2, (int) multimap.get("foo").set(0, 4)); assertFalse(multimap.containsEntry("foo", 2));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
} @Override public SortedMultiset<E> descendingMultiset() { return new StandardDescendingMultiset() { @Override Iterator<Entry<E>> entryIterator() { return backingMultiset.descendingMultiset().entrySet().iterator(); } }; } @Override public NavigableSet<E> elementSet() { return new StandardElementSet(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java
private Dispatcher dispatcher; public void testPerThreadQueuedDispatcher() { dispatcher = Dispatcher.perThreadDispatchQueue(); dispatcher.dispatch(1, integerSubscribers.iterator()); assertThat(dispatchedSubscribers) .containsExactly( i1, i2, i3, // Integer subscribers are dispatched to first. s1,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 27 15:41:25 UTC 2022 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
start = System.currentTimeMillis(); for (Iterator<Map.Entry<String, Object>> i = hmap.entrySet().iterator(); i.hasNext();) { i.next(); } System.out.println("HashMap iteration:" + (System.currentTimeMillis() - start)); start = System.currentTimeMillis(); for (Iterator<Map.Entry<String, Object>> i = amap.entrySet().iterator(); i.hasNext();) { i.next(); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableSet.java
} /** * A sensible definition of {@link #pollFirst} in terms of the {@code iterator} method. If you * override {@link #iterator} you may wish to override {@link #pollFirst} to forward to this * implementation. */ @CheckForNull protected E standardPollFirst() { return Iterators.pollNext(iterator()); } @Override @CheckForNull public E pollLast() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 11.9K bytes - Viewed (0)