- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 1,728 for iteration (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/collect/HashMultisetTest.java
assertEquals(2, copy.size()); assertThat(copy.iterator().next().member).isSameInstanceAs(copy); } /* * The behavior of toString() and iteration is tested by LinkedHashMultiset, * which shares a lot of code with HashMultiset and has deterministic * iteration order. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeTraverser.java
return !stack.isEmpty(); } @Override public T next() { Iterator<T> itr = stack.getLast(); // throws NSEE if empty T result = checkNotNull(itr.next()); if (!itr.hasNext()) { stack.removeLast(); } Iterator<T> childItr = children(result).iterator(); if (childItr.hasNext()) { stack.addLast(childItr); } return result;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 18:39:06 GMT 2025 - 8.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
succeedsInValueSet(lastEntry, newEntry); lastEntry = newEntry; } private int mask() { return hashTable.length - 1; } @Override public Iterator<V> iterator() { return new Iterator<V>() { @Nullable ValueEntry<K, V> nextEntry = firstEntry; @Nullable ValueEntry<K, V> toRemove; int expectedModCount = modCount;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 19.2K bytes - Click Count (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. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java
// having inconsistent iteration orderings. Map<Currency, Country> map = ImmutableMap.of( Currency.DOLLAR, Country.CANADA, Currency.PESO, Country.CHILE, Currency.FRANC, Country.SWITZERLAND); EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); Iterator<Currency> iter = bimap.keySet().iterator(); assertEquals(Currency.DOLLAR, iter.next());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedHashMultimap.java
succeedsInValueSet(lastEntry, newEntry); lastEntry = newEntry; } private int mask() { return hashTable.length - 1; } @Override public Iterator<V> iterator() { return new Iterator<V>() { @Nullable ValueEntry<K, V> nextEntry = firstEntry; @Nullable ValueEntry<K, V> toRemove; int expectedModCount = modCount;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 20K bytes - Click Count (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.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 5.3K bytes - Click Count (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()} haveCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 4.1K bytes - Click Count (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()} haveCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 4.1K bytes - Click Count (0) -
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. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 4.2K bytes - Click Count (0)