Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 179 for removeAll (0.09 sec)

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

          }
    
          @Override
          public boolean remove(@Nullable Object object) {
            return object != null && Collections2.safeRemove(delegate, object);
          }
    
          @Override
          public boolean removeAll(Collection<?> c) {
            return standardRemoveAll(c);
          }
        };
      }
    
      @Override
      Iterator<E> elementIterator() {
        throw new AssertionError("should never be called");
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableCollection.java

       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean removeAll(Collection<?> oldElements) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the collection unmodified.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeRangeMap.java

              }
            };
          }
    
          @Override
          public Collection<V> values() {
            return new Maps.Values<Range<K>, V>(this) {
              @Override
              public boolean removeAll(Collection<?> c) {
                return removeEntryIf(compose(in(c), Entry::getValue));
              }
    
              @Override
              public boolean retainAll(Collection<?> c) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    			// Add deadlines such that immediate purge is not
    			// perpetually hung here.
    			w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    			w.Run(func() error {
    				return removeAll(entry)
    			})
    		}
    	}
    }
    
    const almostFilledPercent = 0.05
    
    func (s *xlStorage) diskAlmostFilled() bool {
    	info, err := s.diskInfoCache.Get()
    	if err != nil {
    		return false
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      // Inheritance is closed, and all subtypes are @DoNotCall, so this is safe to suppress.
      @SuppressWarnings("DoNotCall")
      public ImmutableCollection<V> removeAll(@Nullable Object key) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the multimap unmodified.
       *
       * @throws UnsupportedOperationException always
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMultimap.java

      // Inheritance is closed, and all subtypes are @DoNotCall, so this is safe to suppress.
      @SuppressWarnings("DoNotCall")
      public ImmutableCollection<V> removeAll(@Nullable Object key) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the multimap unmodified.
       *
       * @throws UnsupportedOperationException always
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        builder = builder.add("", Instant.EPOCH)
        builder = builder.set("", "")
        builder = builder.set("", Date(0L))
        builder = builder.set("", Instant.EPOCH)
        builder = builder.removeAll("")
        val get: String? = builder[""]
        val headers: Headers = builder.build()
      }
    
      @Test
      fun httpLoggingInterceptor() {
        var interceptor: HttpLoggingInterceptor = HttpLoggingInterceptor()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 47K bytes
    - Viewed (0)
  8. 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)
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 184.8K bytes
    - Viewed (1)
  9. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertThrows(UnsupportedOperationException.class, () -> values.add("4"));
        assertThrows(UnsupportedOperationException.class, () -> values.remove("four"));
        assertThrows(UnsupportedOperationException.class, () -> values.removeAll(singleton("four")));
        assertThrows(UnsupportedOperationException.class, () -> values.retainAll(singleton("four")));
        assertThrows(
            UnsupportedOperationException.class,
            () -> {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Iterators.java

       * @param elementsToRemove the elements to remove
       * @return {@code true} if any element was removed from {@code iterator}
       */
      @CanIgnoreReturnValue
      public static boolean removeAll(Iterator<?> removeFrom, Collection<?> elementsToRemove) {
        checkNotNull(elementsToRemove);
        boolean result = false;
        while (removeFrom.hasNext()) {
          if (elementsToRemove.contains(removeFrom.next())) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 12:42:11 UTC 2025
    - 51.4K bytes
    - Viewed (0)
Back to top