- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 1,113 for optional (0.08 seconds)
-
guava/src/com/google/common/collect/CompactHashSet.java
import java.util.Set; import java.util.Spliterator; import java.util.Spliterators; import java.util.function.Consumer; import org.jspecify.annotations.Nullable; /** * CompactHashSet is an implementation of a Set. All optional operations (adding and removing) are * supported. The elements can be any objects. * * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 24.7K bytes - Click Count (0) -
scripts/docs.py
) -> None: """ Serve with livereload a docs site for a specific language. This only shows the actual translated files, not the placeholders created with build-all. Takes an optional LANG argument with the name of the language to serve, by default en. """ # Enable line numbers during local development to make it easier to highlight if lang is None: lang = "en"Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 17:46:10 GMT 2026 - 25.4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy
} def "method removal can be reported if current class is first public class"() { given: apiClass.oldClass >> Optional.of(classes['OldBase']) apiClass.newClass >> Optional.of(classes['NewBase']) when: Violation violation = rule.maybeViolation(apiClass) then: violation.humanExplanation.contains('SuperInternal.publicMethod()')Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 3.2K bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t05/maven-test/poms/t05-c-1.0.pom
<dependencies> <dependency> <groupId>maven-test</groupId> <artifactId>t05-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>true</optional> </dependency> </dependencies>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 432 bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t08/maven-test/poms/t08-c-1.0.pom
<dependencies> <dependency> <groupId>maven-test</groupId> <artifactId>t08-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>true</optional> </dependency> </dependencies>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 432 bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t05/maven-test/poms/t05-b-1.1.pom
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t05-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>false</optional> </dependency> </dependencies>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 622 bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java
void shouldBeApplicableWhenAllOptionSpecified() { UpgradeOptions options = mock(UpgradeOptions.class); when(options.all()).thenReturn(Optional.of(true)); when(options.model()).thenReturn(Optional.empty()); UpgradeContext context = createMockContext(options); assertTrue(strategy.isApplicable(context), "Strategy should be applicable when --all is specified");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.6K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/GradleModuleExtension.kt
return flags.entries .map { entry -> entry.key.map { when (it) { true -> Optional.of(entry.value) false -> Optional.empty() } }.orElse(provider { throw GradleException("Expected boolean flag to be configured") }) }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:40:18 GMT 2026 - 4.8K bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t05/maven-test/poms/t05-b-1.0.pom
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t05-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>false</optional> </dependency> </dependencies>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 622 bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t06/maven-test/poms/t06-b-1.1.pom
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t06-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>false</optional> </dependency> </dependencies>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 622 bytes - Click Count (0)