- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 712 for optional (0.05 sec)
-
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) -
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) -
guava/src/com/google/common/collect/MoreCollectors.java
* @throws NullPointerException if any element in the stream is {@code null}. * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be * {@code null}) and returns {@code Optional.empty()} if it has none. */ @SuppressWarnings("unchecked") public static <T> Collector<T, ?, Optional<T>> toOptional() { return (Collector) TO_OPTIONAL; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 5.4K bytes - Viewed (0) -
docs/em/docs/python-types.md
đ 3ī¸âŖ.6ī¸âŖ & đ (â đ 3ī¸âŖ.1ī¸âŖ0ī¸âŖ) đ đĒ đŖ âĢī¸ đ & âī¸ `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) -
android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
.addValue(Collections.emptyMap()) .addValue(null) .add(SHORT_NAME, Optional.of("1")) .add(LONG_NAME, Optional.of("1")) .add(SHORT_NAME, Optional.absent()) .add(LONG_NAME, Optional.absent()) .add(SHORT_NAME, Optional.of("2")) .add(SHORT_NAME, Optional.absent()) .addValue(null) .add(SHORT_NAME, new int[] {1})
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java
public <T> T lookup(Class<T> type, String name) { return null; } @Override public <T> Optional<T> lookupOptional(Class<T> type) { return Optional.empty(); } @Override public <T> Optional<T> lookupOptional(Class<T> type, String name) { return Optional.empty(); } @Override public <T> List<T> lookupList(Class<T> type) { return List.of(); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
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) -
docs/en/docs/tutorial/query-params.md
* `skip=20`: because you set it in the URL * `limit=10`: because that was the default value ## Optional parameters { #optional-parameters } The same way, you can declare optional query parameters, by setting their default to `None`: {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *} In this case, the function parameter `q` will be optional, and will be `None` by default. /// check
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Comparators.java
checkNotNull(valueComparator); return Comparator.<Optional<T>, @Nullable T>comparing( o -> orElseNull(o), Comparator.nullsLast(valueComparator)); } // For discussion of why this exists, see the Android flavor. private static <T> @Nullable T orElseNull(Optional<T> optional) { return optional.orElse(null); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
docs/en/docs/python-types.md
``` //// #### Using `Union` or `Optional` { #using-union-or-optional } If you are using a Python version below 3.10, here's a tip from my very **subjective** point of view: * đ¨ Avoid using `Optional[SomeType]` * Instead ⨠**use `Union[SomeType, None]`** â¨.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.1K bytes - Viewed (0)