- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 1,113 for optional (0.12 seconds)
-
apache-maven/src/assembly/maven/bin/mvnDebug
# Apache Maven Debug Script # # Environment Variable Prerequisites # # JAVA_HOME (Optional) Points to a Java installation. # MAVEN_OPTS (Optional) Java runtime options used when Maven is executed. # MAVEN_SKIP_RC (Optional) Flag to disable loading of mavenrc files. # MAVEN_DEBUG_ADDRESS (Optional) Set the debug address. Default value is localhost:8000
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 18 11:01:21 GMT 2024 - 1.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Comparators.java
/** * Returns a comparator of {@link Optional} values which treats {@link Optional#empty} as less * than all other values, and orders the rest using {@code valueComparator} on the contained * value. * * @since 33.4.0 (but since 22.0 in the JRE flavor) */ @IgnoreJRERequirement // Users will use this only if they're already using Optional.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 11.5K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
public boolean isSelectedVersionKnown() throws OverConstrainedVersionException { return versionRange.isSelectedVersionKnown(this); } @Override public void setOptional(boolean optional) { this.optional = optional; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 14.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java
} @Override public Optional<Path> rootDirectory() { return Optional.ofNullable(rootDirectory); } @Override public Optional<List<CoreExtensions>> coreExtensions() { return Optional.ofNullable(coreExtensions); } @Override public Optional<CIInfo> ciInfo() { return Optional.ofNullable(ciInfo); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 4.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java
@Nonnull @Override public Optional<Source> getInstallationToolchainsSource() { return Optional.ofNullable(installationToolchainsSource); } @Nonnull @Override public Optional<Source> getUserToolchainsSource() { return Optional.ofNullable(userToolchainsSource); } @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 6.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Comparators.java
checkNotNull(valueComparator); return Comparator.<Optional<T>, @Nullable T>comparing( o -> orElseNull(o), Comparator.nullsLast(valueComparator)); } // For discussion of why this exists, see the Android flavor. private static <T> @Nullable T orElseNull(Optional<T> optional) { return optional.orElse(null); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
import java.util.Arrays; import java.util.Optional; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Tests for {@link DosError}. Since {@link DosError} only contains * constants, the tests exercise the data and small helper logic in this * test class. */ public class DosErrorTest { private static Optional<Integer> findNtStatus(int dosErrorCode) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java
/** * Locate and parse the model in the specified directory. * This is equivalent to {@code locate(dir).map(s -> parse(s, options))}. * * @param dir the directory to locate the pom for, never {@code null} * @param options possible parsing options, may be {@code null} * @return an optional parsed {@link Model} or {@code null} if none could be foundCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Sep 10 17:18:47 GMT 2024 - 3.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java
* * @return the optional POM file */ @Nonnull Optional<Path> getPomFile(); /** * Gets the project that was built. * * @return The project that was built or {@code null} if an error occurred and this result accompanies a * {@link ProjectBuilderException}. */ @Nonnull Optional<Project> getProject(); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 2.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java
VersionRange versionRange, String type, String classifier, String scope, boolean optional) { return createArtifact(groupId, artifactId, versionRange, type, classifier, scope, null, optional); } @Override public Artifact createDependencyArtifact( String groupId, String artifactId,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.1K bytes - Click Count (0)