- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 734 for removal (0.03 sec)
-
guava/src/com/google/common/collect/FilteredEntryMultimap.java
} @Override public Collection<V> removeAll(@Nullable Object key) { return MoreObjects.firstNonNull(asMap().remove(key), unmodifiableEmptyCollection()); } @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types Collection<V> unmodifiableEmptyCollection() { // These return false, rather than throwing a UOE, on remove calls.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryResponseList.java
} @Override public Map<String, Object> remove(final int index) { return parent.remove(index); } @Override public boolean remove(final Object o) { return parent.remove(o); } @Override public boolean removeAll(final Collection<?> c) { return parent.removeAll(c); } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java
@MapFeature.Require(SUPPORTS_REMOVE) public void testRemoveAllPropagatesToMultimap() { assertTrue(multimap().entries().removeAll(singleton(mapEntry(k0(), v0())))); expectMissing(mapEntry(k0(), v0())); assertEquals(getNumElements() - 1, multimap().size()); assertFalse(multimap().containsEntry(k0(), v0())); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredKeyMultimap.java
K k = (K) key; return keyPredicate.apply(k); } return false; } @Override public Collection<V> removeAll(@Nullable Object key) { return containsKey(key) ? unfiltered.removeAll(key) : unmodifiableEmptyCollection(); } @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types Collection<V> unmodifiableEmptyCollection() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredKeyMultimap.java
K k = (K) key; return keyPredicate.apply(k); } return false; } @Override public Collection<V> removeAll(@Nullable Object key) { return containsKey(key) ? unfiltered.removeAll(key) : unmodifiableEmptyCollection(); } @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types Collection<V> unmodifiableEmptyCollection() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
return delegate.poll(); } @Override public E remove() { assertTrue(Thread.holdsLock(mutex)); return delegate.remove(); } @Override public boolean remove(Object object) { assertTrue(Thread.holdsLock(mutex)); return delegate.remove(object); } @Override public @Nullable E peek() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
assertEquals("old count", originalCount, getMultiset().remove(e0(), 0)); expectUnchanged(); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_present() { assertEquals( "multiset.remove(present, 2) didn't return the old count", 1, getMultiset().remove(e0(), 2)); assertFalse(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
assertEquals("old count", originalCount, getMultiset().remove(e0(), 0)); expectUnchanged(); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_present() { assertEquals( "multiset.remove(present, 2) didn't return the old count", 1, getMultiset().remove(e0(), 2)); assertFalse(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
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); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
private var lastTimestampNs: Long? = null /** Confirm that the thread does not hold a lock on `lock` during the callback. */ fun forbidLock(lock: Any) { forbiddenLocks.add(lock) } /** * Removes recorded events up to (and including) an event is found whose class equals [eventClass] * and returns it. */ fun <T : ConnectionEvent> removeUpToEvent(eventClass: Class<T>): T {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 5.7K bytes - Viewed (0)