- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 914 for iterate (0.08 sec)
-
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
assertFalse(underlying.containsKey("b")); Iterator<String> keyIterator = keys.iterator(); keyIterator.next(); keyIterator.remove(); assertFalse(underlying.containsKey("c")); Collection<String> values = map.values(); values.remove("4"); assertFalse(underlying.containsKey("d")); Iterator<String> valueIterator = values.iterator(); valueIterator.next(); valueIterator.remove();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9.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) -
guava/src/com/google/common/collect/AbstractIterator.java
* {@link #computeNext} method, and invoke the {@link #endOfData} method when appropriate. * * <p>Another example is an iterator that skips over null elements in a backing iterator. This could * be implemented as: * * <pre>{@code * public static Iterator<String> skipNulls(final Iterator<String> in) { * return new AbstractIterator<String>() { * protected String computeNext() { * while (in.hasNext()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Mar 18 02:04:10 UTC 2022 - 6.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/DescendingMultiset.java
} @Override public Iterator<Entry<E>> iterator() { return entryIterator(); } @Override public int size() { return forwardMultiset().entrySet().size(); } } return new EntrySetImpl(); } @Override public Iterator<E> iterator() { return Multisets.iteratorImpl(this); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 4.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java
public void testRemoveAtIndexConcurrentWithIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<E> iterator = collection.iterator(); getList().remove(getNumElements() / 2); iterator.next(); }); } @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX) @CollectionSize.Require(absent = ZERO) public void testRemoveAtIndex_last() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/PartialTrigger.kt
import common.uuidPrefix import jetbrains.buildServer.configs.kotlin.DslContext import model.CIBuildModel class PartialTrigger<T : BaseGradleBuildType>(triggerName: String, triggerId: String, model: CIBuildModel, dependencies: Iterable<T>) : BaseGradleBuildType(init = { id("${model.projectId}_${triggerId}_Trigger") uuid = "${DslContext.uuidPrefix}_${model.projectId}_${triggerId}_Trigger" name = "$triggerName (Trigger)" type = Type.COMPOSITE
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Dec 05 00:08:14 UTC 2023 - 1.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestIteratorGenerator.java
package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; import java.util.Iterator; /** * Creates iterators to be tested. * * @param <E> the element type of the iterator. * @author George van den Driessche */ @GwtCompatible public interface TestIteratorGenerator<E> { Iterator<E> get();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 938 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
public void testAddConcurrentWithIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<E> iterator = collection.iterator(); assertTrue(collection.add(e3())); iterator.next(); }); } /** * Returns the {@link Method} instance for {@link #testAdd_nullSupported()} so that tests of
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
public void testAddConcurrentWithIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<E> iterator = collection.iterator(); assertTrue(collection.add(e3())); iterator.next(); }); } /** * Returns the {@link Method} instance for {@link #testAdd_nullSupported()} so that tests of
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java
POST_ORDER { @Override <T> Iterable<T> view(T root, TreeTraverser<T> viewer) { return viewer.postOrderTraversal(root); } }, BREADTH_FIRST { @Override <T> Iterable<T> view(T root, TreeTraverser<T> viewer) { return viewer.breadthFirstTraversal(root); } }; abstract <T> Iterable<T> view(T root, TreeTraverser<T> viewer); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 26 19:18:53 UTC 2019 - 4.9K bytes - Viewed (0)