Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for asMapEntrySet (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

        resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v3()));
        Set<Entry<K, Collection<V>>> asMapEntrySet = multimap().asMap().entrySet();
        Entry<K, Collection<V>> asMapEntry0 = getOnlyElement(asMapEntrySet);
        assertTrue(multimap().put(k1(), v4()));
        assertTrue(asMapEntrySet.remove(asMapEntry0));
        assertEquals(1, multimap().size());
        assertContentsInOrder(multimap().keySet(), k1());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Synchronized.java

          }
        }
    
        @Override
        public Set<Map.Entry<K, Collection<V>>> entrySet() {
          synchronized (mutex) {
            if (asMapEntrySet == null) {
              asMapEntrySet = new SynchronizedAsMapEntries<>(delegate().entrySet(), mutex);
            }
            return asMapEntrySet;
          }
        }
    
        @Override
        public Collection<Collection<V>> values() {
          synchronized (mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 53K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Synchronized.java

          }
        }
    
        @Override
        public Set<Map.Entry<K, Collection<V>>> entrySet() {
          synchronized (mutex) {
            if (asMapEntrySet == null) {
              asMapEntrySet = new SynchronizedAsMapEntries<>(delegate().entrySet(), mutex);
            }
            return asMapEntrySet;
          }
        }
    
        @Override
        public Collection<Collection<V>> values() {
          synchronized (mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 56.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        assertThat(cache.asMap().keySet().contains(20)).isTrue();
        assertThat(cache.asMap().keySet().contains(5)).isTrue();
        assertThat(cache.asMap().keySet().contains(10)).isFalse();
      }
    
      @Test
      public void asMapEntrySet() {
        Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder().expireAfterWrite(1000, MILLISECONDS).ticker(fakeTicker).build();
    
        cache.put(10, 20);
        fakeTicker.advance(500, MILLISECONDS);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 14.8K bytes
    - Viewed (0)
Back to top