Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RemoveAll (0.18 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

                return true;
              }
            }
            return false;
          }
        }
    
        @Override
        public boolean removeAll(Collection<?> c) {
          try {
            return super.removeAll(checkNotNull(c));
          } catch (UnsupportedOperationException e) {
            Set<K> toRemove = Sets.newHashSet();
            for (Entry<K, V> entry : map().entrySet()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    	siteNames := rreq.SiteNames
    	updatedPeers := make(map[string]madmin.PeerInfo)
    
    	for _, pi := range info.Sites {
    		updatedPeers[pi.DeploymentID] = pi
    		peerMap[pi.Name] = pi
    		if rreq.RemoveAll {
    			siteNames = append(siteNames, pi.Name)
    		}
    	}
    	for _, s := range siteNames {
    		pinfo, ok := peerMap[s]
    		if !ok {
    			return st, errSRConfigMissingError(errMissingSRConfig)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertFalse(map.values() instanceof Set);
        assertTrue(map.values().removeAll(ImmutableSet.of("bar")));
        assertEquals(1, map.size());
      }
    
      public void testComputeIfAbsent_RemovalListener() {
        List<RemovalNotification<Object, Object>> notifications = new ArrayList<>();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertFalse(map.values() instanceof Set);
        assertTrue(map.values().removeAll(ImmutableSet.of("bar")));
        assertEquals(1, map.size());
      }
    
      public void testCopyEntry_computing() {
        final CountDownLatch startSignal = new CountDownLatch(1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
Back to top