- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for optimizeAllOf (0.12 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/OptimizingExcludeFactory.java
return Optimizations.optimizeAnyOf(one, two, super::anyOf); } @Override public ExcludeSpec allOf(ExcludeSpec one, ExcludeSpec two) { return Optimizations.optimizeAllOf(this, one, two, super::allOf); } @Override public ExcludeSpec anyOf(Set<ExcludeSpec> specs) { return Optimizations.optimizeCollection(this, specs, list -> { if (list.size() == 2) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/Optimizations.java
return two; } if (two instanceof ExcludeNothing) { return one; } return onMiss.apply(one, two); } public static ExcludeSpec optimizeAllOf(ExcludeFactory factory, ExcludeSpec one, ExcludeSpec two, BiFunction<ExcludeSpec, ExcludeSpec, ExcludeSpec> onMiss) { // fast path for two if (one == null) { return two; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.9K bytes - Viewed (0)