Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 174 for xremoveall (0.07 sec)

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

      @Override
      public List<V> get(@ParametricNullness K key) {
        return delegate().get(key);
      }
    
      @CanIgnoreReturnValue
      @Override
      public List<V> removeAll(@CheckForNull Object key) {
        return delegate().removeAll(key);
      }
    
      @CanIgnoreReturnValue
      @Override
      public List<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        return delegate().replaceValues(key, values);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  2. 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)
  3. cmd/jwt_test.go

    func TestWebRequestAuthenticate(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)
    	}
    
    	creds := globalActiveCred
    	token, err := getTokenString(creds.AccessKey, creds.SecretKey)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          // invalidated and have undefined behavior after entrySet.removeAll(entriesToRemove),
          // for example entryToRemove.getValue() might be null.
          Entry<K, V> entryToRemoveCopy = mapEntry(entryToRemove.getKey(), entryToRemove.getValue());
    
          int initialSize = map.size();
          boolean didRemove = entrySet.removeAll(entriesToRemove);
          assertTrue(didRemove);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.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: Thu Mar 07 18:34:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. android/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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. android/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)
  9. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

        @Override
        public int size() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.size();
        }
    
        @Override
        public boolean removeAll(Collection<?> collection) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.removeAll(collection);
        }
    
        @Override
        public boolean isEmpty() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.isEmpty();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.lang.reflect.Method;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * Tests for {@code Multiset#remove}, {@code Multiset.removeAll}, and {@code Multiset.retainAll} not
     * already covered by the corresponding Collection testers.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top