Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 712 for removeable (0.32 sec)

  1. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskRemovalIntegrationTest.groovy

            where:
            description                                | code
            "TaskContainer.remove(Object)"             | "tasks.remove(foo)"
            "TaskContainer.removeAll(Collection)"      | "tasks.removeAll([foo])"
            "TaskContainer.clear()"                    | "tasks.clear()"
            "TaskContainer.retainAll(Collection)"      | "tasks.retainAll([foo])"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. src/io/ioutil/tempfile_test.go

    	"os"
    	"path/filepath"
    	"regexp"
    	"strings"
    	"testing"
    )
    
    func TestTempFile(t *testing.T) {
    	dir, err := TempDir("", "TestTempFile_BadDir")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(dir)
    
    	nonexistentDir := filepath.Join(dir, "_not_exists_")
    	f, err := TempFile(nonexistentDir, "foo")
    	if f != nil || err == nil {
    		t.Errorf("TempFile(%q, `foo`) = %v, %v", nonexistentDir, f, err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 18 00:47:29 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingCollection.java

      }
    
      /**
       * A sensible definition of {@link #removeAll} in terms of {@link #iterator}, using the iterator's
       * {@code remove} method. If you override {@link #iterator}, you may wish to override {@link
       * #removeAll} to forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardRemoveAll(Collection<?> collection) {
        return Iterators.removeAll(iterator(), collection);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 8.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingCollection.java

      }
    
      /**
       * A sensible definition of {@link #removeAll} in terms of {@link #iterator}, using the iterator's
       * {@code remove} method. If you override {@link #iterator}, you may wish to override {@link
       * #removeAll} to forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardRemoveAll(Collection<?> collection) {
        return Iterators.removeAll(iterator(), collection);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 8.2K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/execution/plan/Node.java

        @OverridingMethodsMustInvokeSuper
        public Iterable<Node> getAllSuccessors() {
            return getHardSuccessors();
        }
    
        /**
         * Returns all the nodes which are hard successors, i.e. which have a non-removable relationship to the current node.
         *
         * For example, for tasks `shouldRunAfter` isn't a hard successor while `mustRunAfter` is.
         */
        @OverridingMethodsMustInvokeSuper
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 24 13:30:48 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/DefaultGroupTaskReportModel.java

            if (otherGroupName != null && groups.keySet().contains(DEFAULT_GROUP)) {
                groups.putAll(otherGroupName, groups.removeAll(DEFAULT_GROUP));
            }
            if (groups.keySet().contains(DEFAULT_GROUP) && groups.keySet().size() > 1) {
                groups.putAll(OTHER_GROUP, groups.removeAll(DEFAULT_GROUP));
            }
            return new DefaultGroupTaskReportModel(groups);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 08 21:50:18 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/FilteredEntrySetMultimap.java

      }
    
      @Override
      public Set<V> get(@ParametricNullness K key) {
        return (Set<V>) super.get(key);
      }
    
      @Override
      public Set<V> removeAll(@CheckForNull Object key) {
        return (Set<V>) super.removeAll(key);
      }
    
      @Override
      public Set<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        return (Set<V>) super.replaceValues(key, values);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top