Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 275 for EntrySet (1.04 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEqualsTester.java

            .addEqualityGroup(getMultiset())
            .addEqualityGroup(getSubjectGenerator().create())
            .testEquals();
      }
    
      public void testHashCodeMatchesEntrySet() {
        assertEquals(getMultiset().entrySet().hashCode(), getMultiset().hashCode());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testEqualsMultisetWithNullValue() {
        new EqualsTester()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. 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())) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMultiset.java

        ImmutableSet<Entry<E>> es = entrySet;
        return (es == null) ? (entrySet = createEntrySet()) : es;
      }
    
      private ImmutableSet<Entry<E>> createEntrySet() {
        return isEmpty() ? ImmutableSet.<Entry<E>>of() : new EntrySet();
      }
    
      abstract Entry<E> getEntry(int index);
    
      @WeakOuter
      private final class EntrySet extends IndexedImmutableSet<Entry<E>> {
        @Override
        boolean isPartialView() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. cycle_suppress_list.txt

    # The Runnable type is so generic that it produces too many false positives.
    TYPE java.lang.Runnable
    
    FIELD com.google.common.base.Converter.reverse
    FIELD com.google.common.collect.AbstractBiMap.EntrySet.iterator.$.entry com.google.common.collect.AbstractBiMap.EntrySet.iterator.$.next.$
    FIELD com.google.common.collect.AbstractMapBasedMultimap.map
    FIELD com.google.common.collect.AbstractMultimap.asMap com.google.common.collect.AbstractMapBasedMultimap.NavigableAsMap
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 24 01:59:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        Map<String, IntHolder> map = ImmutableSortedMap.of("a", holderA, "b", holderB);
        holderA.value = 3;
        assertTrue(map.entrySet().contains(immutableEntry("a", new IntHolder(3))));
        Map<String, Integer> intMap = ImmutableSortedMap.of("a", 3, "b", 2);
        assertEquals(intMap.hashCode(), map.entrySet().hashCode());
        assertEquals(intMap.hashCode(), map.hashCode());
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

      public void testEntrySetMutationThrows() {
        map.putInstance(String.class, "test");
        assertEquals(TypeToken.of(String.class), map.entrySet().iterator().next().getKey());
        assertEquals("test", map.entrySet().iterator().next().getValue());
        assertThrows(
            UnsupportedOperationException.class, () -> map.entrySet().iterator().next().setValue(1));
      }
    
      public void testEntrySetToArrayMutationThrows() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. 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(),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top