- Sort Score
- Result 10 results
- Languages All
Results 51 - 53 of 53 for orElseGet (0.37 sec)
-
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
/** * Returns the contained instance if it is present; {@code supplier.get()} otherwise. * * <p><b>Comparison to {@code java.util.Optional}:</b> this method is similar to Java 8's {@code * Optional.orElseGet}, except when {@code supplier} returns {@code null}. In this case this * method throws an exception, whereas the Java 8+ method returns the {@code null} to the caller. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 15.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
validateOptionalProfiles(session, request.getProfileActivation()); LifecycleStarter lifecycleStarter = lookup.lookupOptional(LifecycleStarter.class, request.getBuilderId()) .orElseGet(() -> lookup.lookup(LifecycleStarter.class)); lifecycleStarter.execute(session); validateOptionalProjects(request, session);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1)