Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 401 for entrySet (0.04 sec)

  1. 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(@Nullable Object value) {
        return Maps.containsValueImpl(this, value);
      }
    
      /**
       * A sensible implementation of {@link Map#entrySet} in terms of the following methods: {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

                    int idx = 0;
                    for (Entry<K, V> e : map.entrySet()) {
                        entries[idx++] = new SimpleImmutableEntry<>(e.getKey(), e.getValue());
                    }
                } else {
                    entries = new Object[0];
                }
            }
    
            @Override
            public Set<Entry<K, V>> entrySet() {
                return new AbstractImmutableSet<>() {
                    @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Jul 07 11:47:42 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

        assertEquals(2, keys.count(k0()));
        assertEquals(1, keys.count(k1()));
        assertEquals(3, keys.size());
        assertContainsAllOf(keys, k0(), k1());
        assertContainsAllOf(
            keys.entrySet(), Multisets.immutableEntry(k0(), 2), Multisets.immutableEntry(k1(), 1));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testKeysCountAbsentNullKey() {
        assertEquals(0, multimap().keys().count(null));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.3K bytes
    - Viewed (1)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testIteratorRemoveOnly() {
        Set<Entry<K, V>> entrySet = getMap().entrySet();
        Iterator<Entry<K, V>> entryItr = entrySet.iterator();
        assertEquals(e0(), entryItr.next());
        entryItr.remove();
        assertTrue(getMap().isEmpty());
        assertFalse(entrySet.contains(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testIteratorRemoveOnly() {
        Set<Entry<K, V>> entrySet = getMap().entrySet();
        Iterator<Entry<K, V>> entryItr = entrySet.iterator();
        assertEquals(e0(), entryItr.next());
        entryItr.remove();
        assertTrue(getMap().isEmpty());
        assertFalse(entrySet.contains(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractMultiset.java

      @LazyInit private transient @Nullable Set<Entry<E>> entrySet;
    
      @Override
      public Set<Entry<E>> entrySet() {
        Set<Entry<E>> result = entrySet;
        if (result == null) {
          entrySet = result = createEntrySet();
        }
        return result;
      }
    
      @WeakOuter
      class EntrySet extends Multisets.EntrySet<E> {
        @Override
        Multiset<E> multiset() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingSortedMultiset.java

      }
    
      /**
       * A sensible definition of {@link #firstEntry()} in terms of {@code entrySet().iterator()}.
       *
       * <p>If you override {@link #entrySet()}, you may wish to override {@link #firstEntry()} to
       * forward to this implementation.
       */
      protected @Nullable Entry<E> standardFirstEntry() {
        Iterator<Entry<E>> entryIterator = entrySet().iterator();
        if (!entryIterator.hasNext()) {
          return null;
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java

      abstract Iterator<Entry<E>> entryIterator();
    
      @Nullable private transient Set<Entry<E>> entrySet;
    
      @Override
      public Set<Entry<E>> entrySet() {
        Set<Entry<E>> result = entrySet;
        return (result == null) ? entrySet = createEntrySet() : result;
      }
    
      Set<Entry<E>> createEntrySet() {
        return new Multisets.EntrySet<E>() {
          @Override
          Multiset<E> multiset() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/DescendingMultiset.java

      @LazyInit private transient @Nullable Set<Entry<E>> entrySet;
    
      @Override
      public Set<Entry<E>> entrySet() {
        Set<Entry<E>> result = entrySet;
        return (result == null) ? entrySet = createEntrySet() : result;
      }
    
      Set<Entry<E>> createEntrySet() {
        @WeakOuter
        final class EntrySetImpl extends Multisets.EntrySet<E> {
          @Override
          Multiset<E> multiset() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top