- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,357 for removeIf (0.06 sec)
-
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java
throw new RuntimeException("The following accessors were upgraded, but didn't match any removed/changed method:\n\n" + formattedLeft); } // Find accessors that were removed but shouldn't be Map<AccessorKey, ReplacedAccessor> removedAccessors = new HashMap<>(oldAccessorsOfUpgradedProperties); removedAccessors.entrySet().removeIf(e -> { if (!seenUpgradedAccessorsChanges.contains(e.getKey())) {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Aug 19 15:30:48 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
assertTrue( removeIf( list, new Predicate<String>() { @Override public boolean apply(String s) { return s.equals("b") || s.equals("d") || s.equals("f"); } })); assertEquals(newArrayList("a", "c", "e"), list); assertFalse( removeIf( list,
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 45.6K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 2.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelper.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Apr 13 18:50:07 UTC 2025 - 1.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java
// See https://github.com/melix/japicmp-gradle-plugin/issues/92 private void removeAnnotationChanges(JApiCompatibility member) { member.getCompatibilityChanges().removeIf(change -> ANNOTATION_RELATED_CHANGES.contains(change.getType())); }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 24 14:15:15 UTC 2025 - 3.8K bytes - Viewed (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts
tasks.validatePlugins { enableStricterValidation = true } // Remove gradleApi() and gradleTestKit() as we want to compile/run against Gradle modules // TODO consider splitting `java-gradle-plugin` to provide only what's necessary here configurations.all { withDependencies { remove(project.dependencies.gradleApi()) remove(project.dependencies.gradleTestKit()) } }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Jul 02 12:28:02 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
// Clean up old failure records long now = System.currentTimeMillis(); lastFailureTimes.entrySet().removeIf(entry -> now - entry.getValue() > FAILURE_RECOVERY_TIME * 2); // Clean up old consecutive failure counters consecutiveFailures.entrySet().removeIf(entry -> { String key = entry.getKey(); Long lastFailure = lastFailureTimes.get(key);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java
props.put(overrideName, substVars(value, name, props, callback)); } else { props.put(name, substVars(value, name, props, callback)); } } props.keySet().removeIf(k -> k.startsWith(OVERRIDE_PREFIX)); } private static MavenProperties loadPropertiesFile(Path path, boolean failIfNotFound, UnaryOperator<String> callback) throws IOException {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
// Clean up account attempts accountAttempts.entrySet().removeIf(entry -> { AccountAttempts account = entry.getValue(); return !account.isLockedOut() && account.getLastAttempt().plus(cleanupInterval).isBefore(now); }); // Clean up IP attempts ipAttempts.entrySet().removeIf(entry -> { IpAttempts ip = entry.getValue();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0)