- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for ofNullable (0.16 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCollectorRequest.java
@Nonnull @Override public Optional<Project> getProject() { return Optional.ofNullable(project); } @Nonnull @Override public Optional<Artifact> getRootArtifact() { return Optional.ofNullable(rootArtifact); } @Nonnull @Override
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Dec 08 08:42:44 GMT 2023 - 11.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 16K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
} public OptionalEntity<WebConfig> getWebConfig() { return OptionalUtil.ofNullable(webConfig); } public OptionalEntity<FileConfig> getFileConfig() { return OptionalUtil.ofNullable(fileConfig); } public LabelType[] getLabelTypes() { return labelList.toArray(new LabelType[labelList.size()]); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 14.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Optional.java
* reference; otherwise returns {@link Optional#absent}. * * <p><b>Comparison to {@code java.util.Optional}:</b> this method is equivalent to Java 8's * {@code Optional.ofNullable}. */ public static <T> Optional<T> fromNullable(@CheckForNull T nullableReference) { return (nullableReference == null) ? Optional.<T>absent() : new Present<T>(nullableReference); } /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt
} for (param in method.parameterList.parameters) { append(getBinaryPresentationWithCorrection(param.type)) } append(")") append(getBinaryPresentationWithCorrection(Optional.ofNullable(method.returnType).orElse(PsiType.VOID))) } private fun getBinaryPresentationWithCorrection(psiType: PsiType): String =
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Mar 26 09:19:07 GMT 2024 - 10K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 17.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
* * @return the name of the tool option for this path type */ @Nonnull @Override public Optional<String> option() { return Optional.ofNullable(option); } /** * Returns the option followed by a string representation of the given path elements. * For example, if this type is {@link #MODULES}, then the option is {@code "--module-path"}
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 11.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt
unmappedCount -= 1 // Here we intentionally use the 'Optional' wrapper to make 'computeIfAbsent' work smoothly Optional.ofNullable(computeTarget(element)) } } if (unmappedCount > 0) { element.acceptChildren(this) } } }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Apr 16 06:40:43 GMT 2024 - 22.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* reference; otherwise returns {@link Optional#absent}. * * <p><b>Comparison to {@code java.util.Optional}:</b> this method is equivalent to Java 8's * {@code Optional.ofNullable}. */ public static <T> Optional<T> fromNullable(@CheckForNull T nullableReference) { return (nullableReference == null) ? Optional.<T>absent() : new Present<T>(nullableReference); } Optional() {}
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 13K bytes - Viewed (0)