Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 595 for toOptional (0.05 sec)

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java

         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        Optional<Boolean> force();
    
        /**
         * Should imply "yes" to all questions.
         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        Optional<Boolean> yes();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Streams.java

       *
       * <p><b>Java 9 users:</b> use {@code optional.stream()} instead.
       */
      @Beta
      @InlineMe(replacement = "optional.stream()")
      @InlineMeValidationDisabled("Java 9+ API only")
      public static <T> Stream<T> stream(java.util.Optional<T> optional) {
        return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty();
      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

            @Override
            public Iterator<Lifecycle> iterator() {
                return Collections.emptyIterator();
            }
    
            @Override
            public Optional<Lifecycle> lookup(String id) {
                return Optional.empty();
            }
    
            @Override
            public List<String> computePhases(Lifecycle lifecycle) {
                return List.of();
            }
        };
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. apache-maven/src/assembly/maven/bin/mvnDebug.cmd

    @REM
    @REM   JAVA_HOME           (Optional) Points to a Java installation.
    @REM   MAVEN_BATCH_ECHO    (Optional) Set to 'on' to enable the echoing of the batch commands.
    @REM   MAVEN_BATCH_PAUSE   (Optional) set to 'on' to wait for a key stroke before ending.
    @REM   MAVEN_OPTS          (Optional) Java runtime options used when Maven is executed.
    @REM   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 18 11:01:21 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. 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);
                }
    
                @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. 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();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. apache-maven/src/assembly/maven/bin/mvnenc.cmd

    @REM
    @REM   JAVA_HOME           (Optional) Points to a Java installation.
    @REM   MAVEN_BATCH_ECHO    (Optional) Set to 'on' to enable the echoing of the batch commands.
    @REM   MAVEN_BATCH_PAUSE   (Optional) set to 'on' to wait for a key stroke before ending.
    @REM   MAVEN_OPTS          (Optional) Java runtime options used when Maven is executed.
    @REM   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 18 11:01:21 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 18 11:01:21 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. apache-maven/src/assembly/maven/bin/mvnsh.cmd

    @REM
    @REM   JAVA_HOME           (Optional) Points to a Java installation.
    @REM   MAVEN_BATCH_ECHO    (Optional) Set to 'on' to enable the echoing of the batch commands.
    @REM   MAVEN_BATCH_PAUSE   (Optional) set to 'on' to wait for a key stroke before ending.
    @REM   MAVEN_OPTS          (Optional) Java runtime options used when Maven is executed.
    @REM   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Dec 17 09:50:45 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. docs/em/docs/python-types.md

    🐍 3ī¸âƒŖ.6ī¸âƒŖ &amp; 🔛 (✅ 🐍 3ī¸âƒŖ.1ī¸âƒŖ0ī¸âƒŖ) 👆 đŸ’Ē đŸ“Ŗ âšĢī¸ 🏭 &amp; âš™ī¸ `Optional` âšĒī¸âžĄī¸ `typing` 🕹.
    
    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    âš™ī¸ `Optional[str]` â†Šī¸ `str` 🔜 âžĄī¸ 👨‍🎨 ℹ 👆 🔍 ❌ 🌐❔ 👆 đŸ’Ē 🤔 👈 💲 🕧 `str`, 🕐❔ âšĢī¸ đŸ’Ē 🤙 `None` đŸ’â€â™‚ī¸.
    
    `Optional[Something]` 🤙 ⌨ `Union[Something, None]`, đŸ‘Ģ 🌓.
    
    👉 ⛓ 👈 🐍 3ī¸âƒŖ.1ī¸âƒŖ0ī¸âƒŖ, 👆 đŸ’Ē âš™ī¸ `Something | None`:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top