- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for ofNullable (0.17 sec)
-
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<InputStream> in() { return Optional.ofNullable(in); } @Override public Optional<OutputStream> out() { return Optional.ofNullable(out); } @Override public Optional<OutputStream> err() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
OptionalUtil.ofNullable(user.getSurname()).filter(StringUtil::isNotBlank) .ifPresent(s -> entry.put(new BasicAttribute(fessConfig.getLdapAttrSurname(), s))); OptionalUtil.ofNullable(user.getGivenName()).filter(StringUtil::isNotBlank) .ifPresent(s -> entry.put(new BasicAttribute(fessConfig.getLdapAttrGivenName(), s))); OptionalUtil.ofNullable(user.getMail()).filter(StringUtil::isNotBlank)
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 65.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java
Parent parent = model.getParent(); if (parent != null) { String version = parent.getVersion(); String path = Optional.ofNullable(parent.getRelativePath()).orElse(".."); if (version == null && !path.isEmpty()) { Optional<RelativeProject> resolvedParent = resolveRelativePath(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java
return Optional.ofNullable(session.getProject(delegate.getProject())); } @Override public Optional<MojoExecution> getMojoExecution() { return Optional.ofNullable(delegate.getMojoExecution()).map(me -> new DefaultMojoExecution(session, me)); } @Override public Optional<Exception> getException() { return Optional.ofNullable(delegate.getException()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/OptionalUtil.java
*/ package org.codelibs.fess.util; import org.dbflute.optional.OptionalEntity; public class OptionalUtil { public static <T> OptionalEntity<T> ofNullable(final T entity) { return OptionalEntity.ofNullable(entity, () -> {}); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 866 bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
@Override public Optional<Path> getPomFile() { return Optional.ofNullable(res.getPomFile()).map(File::toPath); } @Nonnull @Override public Optional<Project> getProject() { return Optional.ofNullable(session.getProject(res.getProject())); } @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java
public Optional<Source> getInstallationSettingsSource() { return Optional.ofNullable(installationSettingsSource); } @Nonnull @Override public Optional<Source> getProjectSettingsSource() { return Optional.ofNullable(projectSettingsSource); } @Nonnull @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 17 09:25:53 UTC 2024 - 7.9K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractValueGraph.java
} }; } @Override public Optional<V> edgeValue(N nodeU, N nodeV) { return Optional.ofNullable(edgeValueOrDefault(nodeU, nodeV, null)); } @Override public Optional<V> edgeValue(EndpointPair<N> endpoints) { return Optional.ofNullable(edgeValueOrDefault(endpoints, null)); } @Override public final boolean equals(@CheckForNull Object obj) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 13:59:28 UTC 2023 - 4.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java
public Optional<Source> getInstallationToolchainsSource() { return Optional.ofNullable(installationToolchainsSource); } @Nonnull @Override public Optional<Source> getUserToolchainsSource() { return Optional.ofNullable(userToolchainsSource); } } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 22 14:47:43 UTC 2024 - 5.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java
} @Override public <T> T lookup(Class<T> type, String name) { return lookup(type); } @Override public <T> Optional<T> lookupOptional(Class<T> type) { return Optional.ofNullable(type.cast(components.get(type))); } @Override public <T> Optional<T> lookupOptional(Class<T> type, String name) { return lookupOptional(type); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0)