Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 335 for removeIf (0.08 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

        assertFalse("removeIf(x -> false) should return false", collection.removeIf(x -> false));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveIf_sometimesTrue() {
        assertTrue(
            "removeIf(isEqual(present)) should return true",
            collection.removeIf(Predicate.isEqual(samples.e0())));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

        assertFalse("removeIf(x -> false) should return false", collection.removeIf(x -> false));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveIf_sometimesTrue() {
        assertTrue(
            "removeIf(isEqual(present)) should return true",
            collection.removeIf(Predicate.isEqual(samples.e0())));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

          if (entryPredicate.apply(entry) && Objects.equals(entry.getValue(), o)) {
            unfilteredItr.remove();
            return true;
          }
        }
        return false;
      }
    
      @Override
      public boolean removeAll(Collection<?> c) {
        return Iterables.removeIf(
            multimap.unfiltered().entries(),
            and(multimap.entryPredicate(), valuePredicateOnEntries(in(c))));
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

      @Override
      public final boolean removeAll(Collection<?> oldElements) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public final boolean removeIf(Predicate<? super E> predicate) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public final boolean retainAll(Collection<?> elementsToKeep) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public final void clear() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/LruHashSet.java

        }
    
        /**
         * Removes the specified element from this set if it is present.
         *
         * @param o
         *            object to be removed from this set, if present.
         * @return true if the set contained the specified element.
         */
        @Override
        public boolean remove(final Object o) {
            return map.remove(o) == PRESENT;
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/DocMap.java

        }
    
        /**
         * Removes the mapping for a key from this map if it is present.
         *
         * @param key the key whose mapping is to be removed from the map
         * @return the previous value associated with key, or null if no mapping existed
         */
        @Override
        public Object remove(final Object key) {
            return parent.remove(key);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        /* Should complain on attempt to remove() after peek(). */
        assertThrows(IllegalStateException.class, () -> peekingIterator.remove());
    
        assertEquals(
            "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek());
    
        /* Should recover to be able to remove() after next(). */
        assertEquals("B", peekingIterator.next());
        peekingIterator.remove();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

        runConcurrentlyMutatedTest(elements(1), ops(remove(), add(2)), wrap);
    
        runConcurrentlyMutatedTest(elements(1, 2), ops(remove(), remove()), wrap);
    
        runConcurrentlyMutatedTest(elements(1, 2), ops(remove(), nop()), wrap);
    
        runConcurrentlyMutatedTest(elements(1, 2), ops(remove(), add(3)), wrap);
    
        runConcurrentlyMutatedTest(elements(1, 2), ops(nop(), remove()), wrap);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. docs/security/tls_configuration_history.md

     * TLS_RSA_WITH_AES_128_CBC_SHA[²][http2_naughty]
     * TLS_RSA_WITH_AES_256_CBC_SHA[²][http2_naughty]
     * TLS_RSA_WITH_3DES_EDE_CBC_SHA[²][http2_naughty]
     * **REMOVED:** ~~TLS_DHE_RSA_WITH_AES_128_CBC_SHA~~
     * **REMOVED:** ~~TLS_DHE_RSA_WITH_AES_128_GCM_SHA256~~
     * **REMOVED:** ~~TLS_DHE_RSA_WITH_AES_256_CBC_SHA~~
    
    [OkHttp 3.0][OkHttp30]
    ----------------------
    
    _2016-01-13_
    
    ##### MODERN_TLS / COMPATIBLE_TLS cipher suites
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/RemovalCause.java

    /**
     * The reason why a cached entry was removed.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    public enum RemovalCause {
      /**
       * The entry was manually removed by the user. This can result from the user invoking {@link
       * Cache#invalidate}, {@link Cache#invalidateAll(Iterable)}, {@link Cache#invalidateAll()}, {@link
       * Map#remove}, {@link ConcurrentMap#remove}, or {@link Iterator#remove}.
       */
      EXPLICIT {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top