- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 922 for Optional (0.22 sec)
-
guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java
} return root; } }, ALL_RIGHT { @Override Optional<BinaryNode> createTree(int size, Random rng) { Optional<BinaryNode> root = Optional.absent(); for (int i = 0; i < size; i++) { root = Optional.of(new BinaryNode(rng.nextInt(), Optional.<BinaryNode>absent(), root)); } return root; } }, RANDOM {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 26 19:18:53 UTC 2019 - 4.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java
return returnFirstPresentOrEmpty(MavenOptions::resumeFrom); } @Override public Optional<List<String>> projects() { return collectListIfPresentOrEmpty(MavenOptions::projects); } @Override public Optional<Boolean> alsoMake() { return returnFirstPresentOrEmpty(MavenOptions::alsoMake); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.3K bytes - Viewed (0) -
docs/de/docs/python-types.md
``` //// #### `Union` oder `Optional` verwenden? Wenn Sie eine Python-Version unterhalb 3.10 verwenden, hier ist mein sehr **subjektiver** Standpunkt dazu: * 🚨 Vermeiden Sie `Optional[SomeType]` * Stattdessen ✨ **verwenden Sie `Union[SomeType, None]`** ✨.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 19.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java
* @param active Should the profile be activated? * @param optional Can the build continue if the profile does not exist? */ public void addProfileActivation(String id, boolean active, boolean optional) { final ActivationSettings settings = ActivationSettings.of(active, optional); this.activations.put(id, settings); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java
private ProtoLookup(Map<Class<?>, Object> components) { this.components = components; } @Override public <T> T lookup(Class<T> type) { Optional<T> optional = lookupOptional(type); if (optional.isPresent()) { return optional.get(); } else { throw new LookupException("No mapping for key: " + type.getName()); } } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
common-protos/k8s.io/api/certificates/v1beta1/generated.proto
// +optional optional string status = 6; // brief reason for the request state // +optional optional string reason = 2; // human readable message with details about the request state // +optional optional string message = 3; // timestamp for the last update to this condition // +optional optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastUpdateTime = 4;
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 6.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java
/** * Performs a lookup for optional typed component. * * @param type The component type. * @return Optional carrying component or empty optional if no such component. * @param <T> The component type. * @throws LookupException if there is some provisioning related issue. */ @Nonnull <T> Optional<T> lookupOptional(Class<T> type); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Jan 10 12:55:54 UTC 2024 - 3.3K bytes - Viewed (0) -
common-protos/k8s.io/api/discovery/v1/generated.proto
// in the zone and nodeName fields instead. // +optional map<string, string> deprecatedTopology = 5; // nodeName represents the name of the Node hosting this endpoint. This can // be used to determine endpoints local to a Node. // +optional optional string nodeName = 6; // zone is the name of the Zone this endpoint exists in. // +optional optional string zone = 7;
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 8K bytes - Viewed (0) -
fastapi/security/oauth2.py
scope: Optional string. Several scopes (each one a string) separated by spaces. E.g. "items:read items:write users:read profile openid" client_id: optional string. OAuth2 recommends sending the client_id and client_secret (if any) using HTTP Basic auth, as: client_id:client_secret client_secret: optional string. OAuth2 recommends sending the client_id and client_secret (if any)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 23 18:30:18 UTC 2024 - 21.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ActivationSettings.java
* Should the build continue if the target is not present? */ final boolean optional; ActivationSettings(final boolean active, final boolean optional) { this.active = active; this.optional = optional; } static ActivationSettings of(final boolean active, final boolean optional) { if (optional) { return active ? ACTIVATION_OPTIONAL : DEACTIVATION_OPTIONAL; } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0)