- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 995 for removeIf (0.18 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt
faulty: Boolean, ) { if (faulty) { writeFaults.add(file) } else { writeFaults.remove(file) } } fun setFaultyDelete( file: Path, faulty: Boolean, ) { if (faulty) { deleteFaults.add(file) } else { deleteFaults.remove(file) } } fun setFaultyRename( file: Path, faulty: Boolean, ) { if (faulty) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayIterator.java
} catch (final IndexOutOfBoundsException e) { throw new NoSuchElementException("index=" + index); } } @Override public void remove() { throw new ClUnsupportedOperationException("remove"); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java
public void testRemove_empty() { assertThrows(NoSuchElementException.class, () -> getQueue().remove()); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ONE) public void testRemove_size1() { assertEquals("size1Queue.remove() should return first element", e0(), getQueue().remove()); expectMissing(e0()); } @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_REMOVE})
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.6K bytes - Viewed (0) -
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);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractEntity.java
} public void mymodifyProperty(String propertyName) { registerModifiedProperty(propertyName); } public void mymodifyPropertyCancel(String propertyName) { __modifiedProperties.remove(propertyName); } public void clearModifiedInfo() { __modifiedProperties.clear(); } public boolean hasModification() { return !__modifiedProperties.isEmpty(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractEntity.java
} public void mymodifyProperty(String propertyName) { registerModifiedProperty(propertyName); } public void mymodifyPropertyCancel(String propertyName) { __modifiedProperties.remove(propertyName); } public void clearModifiedInfo() { __modifiedProperties.clear(); } public boolean hasModification() { return !__modifiedProperties.isEmpty(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java
import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.fess.util.ComponentUtil; /** * Job for purging expired thumbnail files from the system. * This job removes thumbnail files that have exceeded their configured expiration time * to prevent disk space from being consumed by old thumbnails. */ public class PurgeThumbnailJob { /** Logger instance for this class */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
Set<Feature<?>> derivedFeatures = copyToSet(multimapFeatures); if (!derivedFeatures.remove(CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS)) { derivedFeatures.remove(CollectionFeature.SERIALIZABLE); } if (derivedFeatures.remove(MapFeature.SUPPORTS_REMOVE)) { derivedFeatures.add(CollectionFeature.SUPPORTS_REMOVE); } return derivedFeatures; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
assertFalse(entrySet.remove(immutableEntry(10, 'X'))); assertTrue(entrySet.remove(immutableEntry(20, 'X'))); assertFalse(entrySet.remove(immutableEntry(15, 'X'))); entrySet = row.entrySet(); assertTrue(entrySet.remove(immutableEntry(10, 'X'))); assertFalse(entrySet.remove(immutableEntry(20, 'X'))); assertFalse(entrySet.remove(immutableEntry(15, 'X'))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
} /** * @throws Exception */ @Test public void testRemove() throws Exception { assertThat(map.remove("1"), is("test")); assertThat(map.size(), is(2)); assertThat(map.remove("dummy"), is(nullValue())); assertThat(map.remove(0), is(nullValue())); } /** * @throws Exception */ @Test public void testRemove2() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0)