- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for valueIterator (0.13 sec)
-
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
Collection<String> values = map.values(); values.remove("4"); assertFalse(underlying.containsKey("d")); Iterator<String> valueIterator = values.iterator(); valueIterator.next(); valueIterator.remove(); assertFalse(underlying.containsKey("e")); Set<Entry<String, String>> entries = map.entrySet(); Entry<String, String> firstEntry = entries.iterator().next();
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-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
Collection<String> values = map.values(); values.remove("4"); assertFalse(underlying.containsKey("d")); Iterator<String> valueIterator = values.iterator(); valueIterator.next(); valueIterator.remove(); assertFalse(underlying.containsKey("e")); Set<Entry<String, String>> entries = map.entrySet(); Entry<String, String> firstEntry = entries.iterator().next();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredMultimapValues.java
FilteredMultimapValues(FilteredMultimap<K, V> multimap) { this.multimap = checkNotNull(multimap); } @Override public Iterator<V> iterator() { return Maps.valueIterator(multimap.entries().iterator()); } @Override public boolean contains(@CheckForNull Object o) { return multimap.containsValue(o); } @Override public int size() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
return (ImmutableCollection<V>) super.values(); } @Override ImmutableCollection<V> createValues() { return new Values<>(this); } @Override UnmodifiableIterator<V> valueIterator() { return new UnmodifiableIterator<V>() { Iterator<? extends ImmutableCollection<V>> valueCollectionItr = map.values().iterator(); Iterator<V> valueItr = emptyIterator(); @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 27.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
Map<K, Iterator<V>> valueIterators = new HashMap<>(); for (int i = 0; i < elements.length; i++) { @SuppressWarnings("unchecked") // These come from Entry<K, V> objects somewhere. K key = (K) elements[i]; Iterator<V> valueItr = valueIterators.get(key); if (valueItr == null) { valueIterators.put(key, valueItr = sampleValuesIterator()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
public ImmutableCollection<V> values() { return (ImmutableCollection<V>) super.values(); } @Override abstract ImmutableCollection<V> createValues(); @Override final Iterator<V> valuesIterator() { throw new AssertionError("should never be called"); } /** * {@inheritDoc} * * @throws NullPointerException if {@code columnKey} is {@code null} */ @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
* * @return collection of values */ @Override public Collection<@Nullable V> values() { return super.values(); } @Override Iterator<@Nullable V> valuesIterator() { return new AbstractIndexedListIterator<@Nullable V>(size()) { @Override @CheckForNull protected V get(int index) { return getValue(index); } }; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.3K bytes - Viewed (0)