Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for xremoveall (0.08 sec)

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

      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllAbsentKey() {
        assertEmpty(multimap().removeAll(k3()));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllPresentKey() {
        assertContentsAnyOrder(multimap().removeAll(k0()), v0());
        expectMissing(e0());
      }
    
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

            public Iterator<K> iterator() {
              return Iterators.unmodifiableIterator(delegate.keySet().iterator());
            }
    
            @Override
            public boolean removeAll(Collection<?> c) {
              return delegate.keySet().removeAll(c);
            }
    
            @Override
            public boolean retainAll(Collection<?> c) {
              return delegate.keySet().retainAll(c);
            }
          };
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

        assertFalse(
            "removeAll(emptyCollection) should return false",
            collection.removeAll(MinimalCollection.of()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAll_nonePresent() {
        assertFalse(
            "removeAll(disjointCollection) should return false",
            collection.removeAll(MinimalCollection.of(e3())));
        expectUnchanged();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java

      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllAbsentKey() {
        assertEmpty(multimap().removeAll(k3()));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllPresentKey() {
        assertContentsAnyOrder(multimap().removeAll(k0()), v0());
        expectMissing(e0());
      }
    
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/FilteredEntryMultimap.java

        }
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return asMap().get(key) != null;
      }
    
      @Override
      public Collection<V> removeAll(@CheckForNull Object key) {
        return MoreObjects.firstNonNull(asMap().remove(key), unmodifiableEmptyCollection());
      }
    
      Collection<V> unmodifiableEmptyCollection() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. impl/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.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/QueryResponseList.java

        }
    
        @Override
        public boolean remove(final Object o) {
            return parent.remove(o);
        }
    
        @Override
        public boolean removeAll(final Collection<?> c) {
            return parent.removeAll(c);
        }
    
        @Override
        public boolean retainAll(final Collection<?> c) {
            return parent.retainAll(c);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

      }
    
      /** Confirm that removeAll() returns a List implementing RandomAccess. */
      public void testRemoveAllRandomAccess() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 1);
        multimap.put("foo", 3);
        assertTrue(multimap.removeAll("foo") instanceof RandomAccess);
        assertTrue(multimap.removeAll("bar") instanceof RandomAccess);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

      }
    
      @Override
      public void testEntrySetRemoveAllNullFromEmpty() {
        try {
          super.testEntrySetRemoveAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.entrySet().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testEntrySetRetainAllNullFromEmpty() {
        try {
          super.testEntrySetRetainAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        } catch (UnsupportedOperationException expected) {
        }
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Test #removeAll()
        try {
          multimap.removeAll(sampleKey);
          fail("removeAll succeeded on unmodifiable multimap");
        } catch (UnsupportedOperationException expected) {
        }
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top