Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 124 for RemoveAll (0.16 sec)

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

       * this method returns a {@link List}, instead of the {@link Collection} specified in the {@link
       * Multimap} interface.
       */
      @CanIgnoreReturnValue
      @Override
      public List<V> removeAll(@CheckForNull Object key) {
        return (List<V>) super.removeAll(key);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Because the values for a given key may have duplicates and follow the insertion ordering,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllPropagatesToMultimap() {
        assertTrue(multimap().entries().removeAll(Collections.singleton(Helpers.mapEntry(k0(), v0()))));
        expectMissing(Helpers.mapEntry(k0(), v0()));
        assertEquals(getNumElements() - 1, multimap().size());
        assertFalse(multimap().containsEntry(k0(), v0()));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

        @Deprecated
        public void overwriteActiveProjects(List<String> activeProjectSelectors) {
            List<ProjectActivationSettings> projects = getProjects(pa -> pa.active).collect(Collectors.toList());
            this.activations.removeAll(projects);
            activeProjectSelectors.forEach(this::activateOptionalProject);
        }
    
        /**
         * Overwrites the inactive projects based on a pre-Maven 4 "inactive projects" list.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testEntrySet_removeAllPresent() {
        assertTrue(
            "multiset.entrySet.removeAll(presentEntry) returned false",
            getMultiset()
                .entrySet()
                .removeAll(Collections.singleton(Multisets.immutableEntry(e0(), 1))));
        assertFalse("multiset contains element after removing its entry", getMultiset().contains(e0()));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 9.6K bytes
    - Viewed (0)
  5. cmd/signature-v2_test.go

    func TestDoesPresignedV2SignatureMatch(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    	}
    
    	now := UTCNow()
    
    	var (
    		accessKey = globalActiveCred.AccessKey
    		secretKey = globalActiveCred.SecretKey
    	)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testEntrySet_removeAllPresent() {
        assertTrue(
            "multiset.entrySet.removeAll(presentEntry) returned false",
            getMultiset()
                .entrySet()
                .removeAll(Collections.singleton(Multisets.immutableEntry(e0(), 1))));
        assertFalse("multiset contains element after removing its entry", getMultiset().contains(e0()));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 9.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingSet.java

      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    
      /**
       * A sensible definition of {@link #removeAll} in terms of {@link #iterator} and {@link #remove}.
       * If you override {@code iterator} or {@code remove}, you may wish to override {@link #removeAll}
       * to forward to this implementation.
       *
       * @since 7.0 (this version overrides the {@code ForwardingCollection} version as of 12.0)
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 3.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractSetMultimap.java

       * {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface.
       */
      @CanIgnoreReturnValue
      @Override
      public Set<V> removeAll(@CheckForNull Object key) {
        return (Set<V>) super.removeAll(key);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

        return delegate.pollLast();
      }
    
      @Override
      public boolean remove(Object object) {
        return delegate.remove(checkValid(object));
      }
    
      @Override
      public boolean removeAll(Collection<?> c) {
        return delegate.removeAll(c);
      }
    
      @Override
      public boolean retainAll(Collection<?> c) {
        return delegate.retainAll(c);
      }
    
      @Override
      public int size() {
        return delegate.size();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingSet.java

      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    
      /**
       * A sensible definition of {@link #removeAll} in terms of {@link #iterator} and {@link #remove}.
       * If you override {@code iterator} or {@code remove}, you may wish to override {@link #removeAll}
       * to forward to this implementation.
       *
       * @since 7.0 (this version overrides the {@code ForwardingCollection} version as of 12.0)
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 3.8K bytes
    - Viewed (0)
Back to top