Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for entrySet (0.12 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                      return map.entrySet().remove(o);
                    }
    
                    @Override
                    public boolean containsAll(Collection<?> c) {
                      return map.entrySet().containsAll(c);
                    }
    
                    @Override
                    public boolean removeAll(Collection<?> c) {
                      return map.entrySet().removeAll(c);
                    }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        }
    
        @Override
        public Set<Entry<K, V>> entrySet() {
          return new ForwardingSet<Entry<K, V>>() {
            @Override
            protected Set<Entry<K, V>> delegate() {
              return delegate.entrySet();
            }
    
            @Override
            public Iterator<Entry<K, V>> iterator() {
              return Iterators.unmodifiableIterator(delegate.entrySet().iterator());
            }
    
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          assertEquals(expectedEntrySetHash, entrySet.hashCode());
          assertTrue(entrySet.containsAll(new HashSet<Entry<K, V>>(entrySet)));
          assertTrue(entrySet.equals(new HashSet<Entry<K, V>>(entrySet)));
        }
    
        Object[] entrySetToArray1 = entrySet.toArray();
        assertEquals(map.size(), entrySetToArray1.length);
        assertTrue(asList(entrySetToArray1).containsAll(entrySet));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingMap.java

       * {@link #entrySet}. If you override {@link #entrySet}, you may wish to override {@link
       * #containsValue} to forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardContainsValue(@CheckForNull Object value) {
        return Maps.containsValueImpl(this, value);
      }
    
      /**
       * A sensible implementation of {@link Map#entrySet} in terms of the following methods: {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingMultiset.java

       * {@link #entrySet}, you may wish to override {@link #hashCode} to forward to this
       * implementation.
       *
       * @since 7.0
       */
      protected int standardHashCode() {
        return entrySet().hashCode();
      }
    
      /**
       * A sensible definition of {@link #toString} as {@code entrySet().toString()} . If you override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          assertEquals(expectedEntrySetHash, entrySet.hashCode());
          assertTrue(entrySet.containsAll(new HashSet<Entry<K, V>>(entrySet)));
          assertTrue(entrySet.equals(new HashSet<Entry<K, V>>(entrySet)));
        }
    
        Object[] entrySetToArray1 = entrySet.toArray();
        assertEquals(map.size(), entrySetToArray1.length);
        assertTrue(asList(entrySetToArray1).containsAll(entrySet));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FilteredEntryMultimap.java

              if (oldCount <= occurrences) {
                itr.remove();
              }
            }
          }
          return oldCount;
        }
    
        @Override
        public Set<Multiset.Entry<K>> entrySet() {
          return new Multisets.EntrySet<K>() {
    
            @Override
            Multiset<K> multiset() {
              return Keys.this;
            }
    
            @Override
            public Iterator<Multiset.Entry<K>> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        assertEquals(0, multiset.size());
        assertEquals(0, multiset.toArray().length);
        assertTrue(multiset.entrySet().isEmpty());
        assertFalse(multiset.iterator().hasNext());
        assertEquals(0, multiset.entrySet().size());
        assertEquals(0, multiset.entrySet().toArray().length);
        assertFalse(multiset.entrySet().iterator().hasNext());
      }
    
      public void testEmptyRangeSubMultisetSupportingAdd(SortedMultiset<E> multiset) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          Set<Entry<Object, Object>> entrySet = cache.asMap().entrySet();
          entrySet.clear();
          checkEmpty(entrySet);
          checkEmpty(cache);
        }
      }
    
      public void testEntrySet_empty_remove() {
        for (LoadingCache<Object, Object> cache : caches()) {
          Set<Entry<Object, Object>> entrySet = cache.asMap().entrySet();
          assertFalse(entrySet.remove(null));
          assertFalse(entrySet.remove(entryOf(6, 6)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          Set<Entry<Object, Object>> entrySet = cache.asMap().entrySet();
          entrySet.clear();
          checkEmpty(entrySet);
          checkEmpty(cache);
        }
      }
    
      public void testEntrySet_empty_remove() {
        for (LoadingCache<Object, Object> cache : caches()) {
          Set<Entry<Object, Object>> entrySet = cache.asMap().entrySet();
          assertFalse(entrySet.remove(null));
          assertFalse(entrySet.remove(entryOf(6, 6)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top