Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 365 for EntrySet (0.3 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 20:14:36 GMT 2024
    - 26K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      public void testAsMapEntrySetReflectsPutSameKey() {
        resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v3()));
    
        Set<Entry<K, Collection<V>>> asMapEntrySet = multimap().asMap().entrySet();
        Collection<V> valueCollection = getOnlyElement(asMapEntrySet).getValue();
        assertContentsAnyOrder(valueCollection, v0(), v3());
        assertTrue(multimap().put(k0(), v4()));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

        for (Entry<K, V> entry : getMap().entrySet()) {
          assertThrows(NullPointerException.class, () -> entry.setValue(null));
          expectUnchanged();
        }
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testSetValueNullSupported() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jul 07 11:47:42 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

         *
         * TODO(cpovirk): decide what the best long-term action here is: force users
         * to suppress (as we do now), stop testing entrySet().add() at all, make
         * entrySet().add() tests tolerant of either behavior, introduce a map
         * feature for entrySet() that supports add(), or something else
         */
        return asList(
            getAddUnsupportedNotPresentMethod(),
            getAddAllUnsupportedNonePresentMethod(),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                      return map.entrySet().containsAll(c);
                    }
    
                    @Override
                    public boolean removeAll(Collection<?> c) {
                      return map.entrySet().removeAll(c);
                    }
    
                    @Override
                    public boolean retainAll(Collection<?> c) {
                      return map.entrySet().retainAll(c);
                    }
    
                    @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/SortedMultiset.java

       */
      @Override
      NavigableSet<E> elementSet();
    
      /**
       * {@inheritDoc}
       *
       * <p>The {@code entrySet}'s iterator returns entries in ascending element order according to this
       * multiset's comparator.
       */
      @Override
      Set<Entry<E>> entrySet();
    
      /**
       * {@inheritDoc}
       *
       * <p>The iterator returns the elements in ascending order according to this multiset's
       * comparator.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/SortedMultiset.java

       */
      @Override
      NavigableSet<E> elementSet();
    
      /**
       * {@inheritDoc}
       *
       * <p>The {@code entrySet}'s iterator returns entries in ascending element order according to this
       * multiset's comparator.
       */
      @Override
      Set<Entry<E>> entrySet();
    
      /**
       * {@inheritDoc}
       *
       * <p>The iterator returns the elements in ascending order according to this multiset's
       * comparator.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractBiMap.java

        public String toString() {
          return standardToString();
        }
      }
    
      @LazyInit private transient @Nullable Set<Entry<K, V>> entrySet;
    
      @Override
      public Set<Entry<K, V>> entrySet() {
        Set<Entry<K, V>> result = entrySet;
        return (result == null) ? entrySet = new EntrySet() : result;
      }
    
      private final class BiMapEntry extends ForwardingMapEntry<K, V> {
        private final Entry<K, V> delegate;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

       */
      ALLOWS_NULL_VALUE_QUERIES,
      ALLOWS_NULL_VALUES(ALLOWS_NULL_VALUE_QUERIES),
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code
       * entrySet().contains(null)} or {@code entrySet().remove(null)}
       */
      ALLOWS_NULL_ENTRY_QUERIES,
      /**
       * The map does not throw {@code NullPointerException} on any {@code null} queries.
       *
       * @see #ALLOWS_NULL_KEY_QUERIES
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top