Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 107 for RemoveAll (0.16 sec)

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

        testers.add(SetEqualsTester.class);
        testers.add(SetRemoveTester.class);
        // SetRemoveAllTester doesn't exist because, Sets not permitting
        // duplicate elements, there are no tests for Set.removeAll() that aren't
        // covered by CollectionRemoveAllTester.
        return testers;
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

      }
    
      /**
       * Confirm that removeAll() returns a List that implements RandomAccess, even though get()
       * doesn't.
       */
      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);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 18K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

          return get((K) key).remove(value);
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Collection<V2> removeAll(@CheckForNull Object key) {
          return transform((K) key, fromMultimap.removeAll(key));
        }
    
        @Override
        public Collection<V2> replaceValues(@ParametricNullness K key, Iterable<? extends V2> values) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testRemoveAll_collection() {
        List<String> list = newArrayList("a", "b", "c", "d", "e");
        assertTrue(Iterables.removeAll(list, newArrayList("b", "d", "f")));
        assertEquals(newArrayList("a", "c", "e"), list);
        assertFalse(Iterables.removeAll(list, newArrayList("x", "y", "z")));
        assertEquals(newArrayList("a", "c", "e"), list);
      }
    
      public void testRemoveAll_iterable() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

        throw new UnsupportedOperationException();
      }
    
      public final boolean addAll(Collection<? extends E> newElements) {
        throw new UnsupportedOperationException();
      }
    
      public final boolean removeAll(Collection<?> oldElements) {
        throw new UnsupportedOperationException();
      }
    
      public final boolean removeIf(Predicate<? super E> predicate) {
        throw new UnsupportedOperationException();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. 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
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        if (!features.containsAll(requirements.getPresentFeatures())) {
          if (logger.isLoggable(FINER)) {
            Set<Feature<?>> missingFeatures = Helpers.copyToSet(requirements.getPresentFeatures());
            missingFeatures.removeAll(features);
            logger.finer(
                Platform.format(
                    "%s: skipping because these features are absent: %s", method, missingFeatures));
          }
          return false;
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multiset.java

       * Multiset)}.
       *
       * <p>This method refines {@link Collection#removeAll} to further specify that it <b>may not</b>
       * throw an exception in response to any of {@code elements} being null or of the wrong type.
       */
      @CanIgnoreReturnValue
      @Override
      boolean removeAll(Collection<?> c);
    
      /**
       * {@inheritDoc}
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K 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/Collections2.java

       * collection's {@code add()} and {@code addAll()} methods throw an {@link
       * IllegalArgumentException}. When methods such as {@code removeAll()} and {@code clear()} are
       * called on the filtered collection, only elements that satisfy the filter will be removed from
       * the underlying collection.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top