- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 141 for isPresent (0.19 sec)
-
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java
if (request.getGlobalSettingsSource().isPresent()) { req.setGlobalSettingsSource(new MappedSettingsSource( request.getGlobalSettingsSource().get())); } if (request.getGlobalSettingsPath().isPresent()) { req.setGlobalSettingsFile(request.getGlobalSettingsPath().get().toFile()); }
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Tue Dec 05 08:11:33 GMT 2023 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Optional.java
Optional() {} /** * Returns {@code true} if this holder contains a (non-null) instance. * * <p><b>Comparison to {@code java.util.Optional}:</b> no differences. */ public abstract boolean isPresent(); /** * Returns the contained instance, which must be present. If the instance might be absent, use * {@link #or(Object)} or {@link #orNull} instead. *
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) -
android/guava-tests/test/com/google/common/base/OptionalTest.java
} public void testIsPresent_no() { assertFalse(Optional.absent().isPresent()); } @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for Optional public void testIsPresent_yes() { assertTrue(Optional.of("training").isPresent()); } public void testGet_absent() { Optional<String> optional = Optional.absent(); try { optional.get();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 10.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
} public void testIsPresent_no() { assertFalse(Optional.absent().isPresent()); } @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for Optional public void testIsPresent_yes() { assertTrue(Optional.of("training").isPresent()); } public void testGet_absent() { Optional<String> optional = Optional.absent(); try { optional.get();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
Optional() {} /** * Returns {@code true} if this holder contains a (non-null) instance. * * <p><b>Comparison to {@code java.util.Optional}:</b> no differences. */ public abstract boolean isPresent(); /** * Returns the contained instance, which must be present. If the instance might be absent, use * {@link #or(Object)} or {@link #orNull} instead. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 13K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
.setProcessPlugins(request.isProcessPlugins()); ProjectBuildingResult res; if (request.getPath().isPresent()) { Path path = request.getPath().get(); res = builder.build(path.toFile(), req); } else if (request.getSource().isPresent()) { Source source = request.getSource().get(); ModelSource2 modelSource = new SourceWrapper(source);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 8.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PackagingProfileActivator.java
} @Override public boolean presentInConfig(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { return getActivationPackaging(profile).isPresent(); } private static boolean isPackaging(ProfileActivationContext context, String p) { String packaging = context.getUserProperties().get(ProfileActivationContext.PROPERTY_NAME_PACKAGING);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/BuildModelTransformer.java
Optional<RelativeProject> resolvedParent = resolveRelativePath( pomFile, context, Paths.get(path), parent.getGroupId(), parent.getArtifactId()); if (resolvedParent.isPresent()) { version = resolvedParent.get().getVersion(); } } // CI Friendly version for parent String modVersion = replaceCiFriendlyVersion(context, version);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java
// ============== @Execute public ActionResponse index() { if (fessLoginAssist.getSavedUserBean().isPresent()) { return redirect(RootAction.class); } final SsoManager ssoManager = ComponentUtil.getSsoManager(); final LoginCredential loginCredential = ssoManager.getLoginCredential();
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyCollector.java
Collection<DependencyCoordinate> dependencies; Collection<DependencyCoordinate> managedDependencies; List<RemoteRepository> remoteRepositories; if (request.getProject().isPresent()) { Project project = request.getProject().get(); rootArtifact = project.getPomArtifact(); root = null; dependencies = project.getDependencies();
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Wed Feb 28 23:30:57 GMT 2024 - 4.4K bytes - Viewed (0)