Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 896 for toOptional (0.17 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         *
         * @see Function
         * @see Optional
         * @see HashMap#computeIfAbsent(Object, Function)
         */
        static Function<String, String> memoize(Function<String, String> callback) {
            Map<String, Optional<String>> cache = new HashMap<>();
            return s -> cache.computeIfAbsent(s, v -> Optional.ofNullable(callback.apply(v)))
                    .orElse(null);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

         */
        Collection<Alias> aliases();
    
        /**
         * Pre-ordered list of phases.
         * If not provided, a default order will be computed.
         */
        default Optional<List<String>> orderedPhases() {
            return Optional.empty();
        }
    
        /**
         * A phase in the lifecycle.
         *
         * A phase is identified by its name. It also contains a list of plugins bound to that phase,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Sep 24 07:54:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Enums.java

        } catch (NoSuchFieldException impossible) {
          throw new AssertionError(impossible);
        }
      }
    
      /**
       * Returns an optional enum constant for the given type, using {@link Enum#valueOf}. If the
       * constant does not exist, {@link Optional#absent} is returned. A common use case is for parsing
       * user input or falling back to a default enum constant. For example, {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. docs/uk/docs/python-types.md

    #### Possibly `None` (Optional)
    
    Ви можете оголосити, що значення може мати тип, наприклад `str`, але також може бути `None`.
    
    У Python 3.6 і вище (включаючи Python 3.10) ви можете оголосити його, імпортувавши та використовуючи `Optional` з модуля `typing`.
    
    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java

     */
    package org.codelibs.fess.mylasta.direction.sponsor;
    
    import java.util.Locale;
    
    import org.dbflute.jdbc.ClassificationMeta;
    import org.dbflute.optional.OptionalObject;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.db.dbflute.classification.ListedClassificationProvider;
    import org.lastaflute.db.dbflute.exception.ProvidedClassificationNotFoundException;
    
    /**
     * @author jflute
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. docs/ru/docs/python-types.md

    #### `Optional`
    
    Вы также можете использовать `Optional`, чтобы объявить, что переменная имеет тип, например, `str`, но это является «необязательным», что означает, что она также может быть `None`:
    
    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/resources/inheritance-repo/t06/p0/p1/pom.xml

          </dependency>
          <dependency>
            <groupId>maven-test</groupId>
            <artifactId>t06-d</artifactId>
            <version>1.0</version>
            <scope>test</scope>
            <optional>false</optional>
          </dependency>
        </dependencies>
      </dependencyManagement>
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t06-a</artifactId>
          <version>1.0</version>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. .github/workflows/scorecards-analysis.yml

            with:
              results_file: results.sarif
              results_format: sarif
              publish_results: true
    
          # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
          # format to the repository Actions tab.
          - name: "Upload artifact"
            uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. fastapi/datastructures.py

            BinaryIO,
            Doc("The standard Python file object (non-async)."),
        ]
        filename: Annotated[Optional[str], Doc("The original file name.")]
        size: Annotated[Optional[int], Doc("The size of the file in bytes.")]
        headers: Annotated[Headers, Doc("The headers of the request.")]
        content_type: Annotated[
            Optional[str], Doc("The content type of the request, from the headers.")
        ]
    
        async def write(
            self,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs/metrics/prometheus/README.md

      scheme: http
      static_configs:
      - targets: ['localhost:9000']
    ```
    
    ##### Node centric (optional)
    
    ```yaml
    - job_name: minio-job-node
      bearer_token: <secret>
      metrics_path: /minio/v2/metrics/node
      scheme: http
      static_configs:
      - targets: ['localhost:9000']
    ```
    
    ##### Resource centric (optional)
    
    ```yaml
    - job_name: minio-job-resource
      bearer_token: <secret>
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 12 15:49:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top