Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 680 for remove (0.19 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                    result.remove("compile");
                    result.remove("system");
                    result.remove("provided");
                } else if ("runtime".equals(scope)) {
                    result.remove("compile");
                    result.remove("runtime");
                } else if ("compile+runtime".equals(scope)) {
                    result.remove("compile");
                    result.remove("system");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractBiMap.java

          }
    
          Entry<?, ?> entry = (Entry<?, ?>) object;
          inverse.delegate.remove(entry.getValue());
          /*
           * Remove the mapping in inverse before removing from esDelegate because
           * if entry is part of esDelegate, entry might be invalidated after the
           * mapping is removed from esDelegate.
           */
          esDelegate.remove(entry);
          return true;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                MapFeature.RESTRICTS_KEYS,
                MapFeature.SUPPORTS_REMOVE,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                CollectionFeature.SUPPORTS_REMOVE,
                CollectionSize.ANY)
            .named("Hashtable")
            .suppressing(suppressForHashtable())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 17K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TableCollectionTest.java

      };
    
      private static final Feature<?>[] COLLECTION_FEATURES_REMOVE = {
        CollectionSize.ANY, CollectionFeature.SUPPORTS_REMOVE, CollectionFeature.ALLOWS_NULL_QUERIES
      };
    
      private static final Feature<?>[] COLLECTION_FEATURES_REMOVE_ORDER = {
        CollectionSize.ANY,
        CollectionFeature.KNOWN_ORDER,
        CollectionFeature.SUPPORTS_REMOVE,
        CollectionFeature.ALLOWS_NULL_QUERIES
      };
    
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       * assume that using setCount() to increase the count is permitted iff add()
       * is permitted and similarly for decrease/remove(). We assume that a
       * setCount() no-op is permitted if either add() or remove() is permitted,
       * though we also allow it to "succeed" if neither is permitted.
       */
    
      private void assertSetCount(E element, int count) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       * assume that using setCount() to increase the count is permitted iff add()
       * is permitted and similarly for decrease/remove(). We assume that a
       * setCount() no-op is permitted if either add() or remove() is permitted,
       * though we also allow it to "succeed" if neither is permitted.
       */
    
      private void assertSetCount(E element, int count) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        } catch (UnsupportedOperationException expected) {
        }
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Test #remove()
        try {
          multimap.remove(sampleKey, sampleValue);
          fail("remove succeeded on unmodifiable multimap");
        } catch (UnsupportedOperationException expected) {
        }
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        }
      }
    
      void expectRemoveZero(SortedMultiset<E> multiset, Entry<E> entry) {
        assertEquals(0, multiset.remove(entry.getElement(), entry.getCount()));
        assertFalse(multiset.remove(entry.getElement()));
        assertFalse(multiset.elementSet().remove(entry.getElement()));
      }
    
      void expectSetCountFailure(SortedMultiset<E> multiset, Entry<E> entry) {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 25.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        }
    
        @Override
        public void remove() {
          valueIterator.remove();
          /*
           * requireNonNull is safe because we've already initialized `collection`. If we hadn't, then
           * valueIterator.remove() would have failed.
           */
          if (requireNonNull(collection).isEmpty()) {
            keyIterator.remove();
          }
          totalSize--;
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          iterator.remove();
          assertEquals(initialSize - 1, map.size());
    
          // Use "entryCopy" instead of "entry" because "entry" might be invalidated after
          // iterator.remove().
          assertFalse(entrySet.contains(entryCopy));
          assertInvariants(map);
          try {
            iterator.remove();
            fail("Expected IllegalStateException.");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (2)
Back to top