- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 986 for Iteration (0.04 sec)
-
impl/maven-core/src/test/java/org/apache/maven/model/PropertiesTest.java
// Now perform a write operation wrapperProps.setProperty("new.key", "new.value"); // Read the initial key again - should return the current value assertEquals("externally.modified", wrapperProps.getProperty("initial.key")); // Read the external key that was set before the write operationRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jun 12 07:26:53 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.util.ArrayList; import java.util.LinkedList; import org.jspecify.annotations.NullUnmarked; /** * Tests the speed of iteration of different iteration methods for collections. * * @author David Richter */ @NullUnmarked public class IteratorBenchmark { @Param({"0", "1", "16", "256", "4096", "65536"}) int size;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashMultisetTest.java
assertEquals(2, copy.size()); assertSame(copy, copy.iterator().next().member); } /* * The behavior of toString() and iteration is tested by LinkedHashMultiset, * which shares a lot of code with HashMultiset and has deterministic * iteration order. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/BiMap.java
// Bulk Operations /** * {@inheritDoc} * * <p><b>Warning:</b> the results of calling this method may vary depending on the iteration order * of {@code map}. * * @throws IllegalArgumentException if an attempt to {@code put} any entry fails. Note that some * map entries may have been added to the bimap before the exception was thrown. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java
public void testForEachKnownOrder() { List<E> elements = new ArrayList<>(); collection.forEach(elements::add); List<E> expected = Helpers.copyToList(getOrderedElements()); assertEquals("Different ordered iteration", expected, elements); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBasedTable.java
import com.google.common.base.Supplier; import java.io.Serializable; import java.util.LinkedHashMap; import java.util.Map; /** * Implementation of {@link Table} using linked hash tables. This guarantees predictable iteration * order of the various views. * * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} haveRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashBasedTable.java
import com.google.common.base.Supplier; import java.io.Serializable; import java.util.LinkedHashMap; import java.util.Map; /** * Implementation of {@link Table} using linked hash tables. This guarantees predictable iteration * order of the various views. * * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} haveRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/SparseImmutableTable.java
private final ImmutableMap<C, ImmutableMap<R, V>> columnMap; // For each cell in iteration order, the index of that cell's row key in the row key list. @SuppressWarnings("Immutable") // We don't modify this after construction. private final int[] cellRowIndices; // For each cell in iteration order, the index of that cell's column key in the list of column // keys present in that row.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
private final ImmutableMap<C, ImmutableMap<R, V>> columnMap; // For each cell in iteration order, the index of that cell's row key in the row key list. @SuppressWarnings("Immutable") // We don't modify this after construction. private final int[] cellRowIndices; // For each cell in iteration order, the index of that cell's column key in the list of column // keys present in that row.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 5.3K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/Sets.java
} } /** * Returns an immutable set instance containing the given enum elements. Internally, the returned * set will be backed by an {@link EnumSet}. * * <p>The iteration order of the returned set follows the enum's iteration order, not the order in * which the elements are provided to the method. * * @param anElement one of the elements the set should containRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 81.6K bytes - Viewed (0)