Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 996 for optional (0.07 sec)

  1. android/guava/src/com/google/common/base/MoreObjects.java

       * Predicates.notNull())}, static importing as necessary.
       *
       * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can be
       * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for
       * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier)
       * first.or(supplier)}.
       *
       * <p><b>Java 9 users:</b> use {@code java.util.Objects.requireNonNullElse(first, second)}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. apache-maven/src/assembly/maven/bin/mvn

    #
    #   JAVA_HOME           (Optional) Points to a Java installation.
    #   MAVEN_ARGS          (Optional) Arguments passed to Maven before CLI arguments.
    #   MAVEN_OPTS          (Optional) Java runtime options used when Maven is executed.
    #   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 12:01:35 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        }
    
        @Override
        public Path getRootDirectory() {
            return project.getRootDirectory();
        }
    
        @Override
        public Optional<Project> getParent() {
            MavenProject parent = project.getParent();
            return Optional.ofNullable(session.getProject(parent));
        }
    
        @Nonnull
        private DependencyCoordinates toDependency(org.apache.maven.api.model.Dependency dependency) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

            stablePublicInterface = instanceScopedPool.get(StablePublicInterface.name)
    
            apiClass.changeStatus >> JApiChangeStatus.MODIFIED
            apiClass.oldClass >> Optional.of(oldBase)
            apiClass.newClass >> Optional.of(newBase)
    
            internalInterface.name = replaceAsInternal(internalInterface.name)
    
            interfaces = ['internal': internalInterface,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/resources/inheritance-repo/t07/maven-test/poms/t07-c-1.0.pom

      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t07-d</artifactId>
          <version>1.1</version>
          <type>jar</type>
          <scope>compile</scope>
          <optional>true</optional>
        </dependency>
      </dependencies>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 432 bytes
    - Viewed (0)
  6. docs_src/python_types/tutorial009.py

    from typing import Optional
    
    
    def say_hi(name: Optional[str] = None):
        if name is not None:
            print(f"Hey {name}!")
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 12 21:44:23 UTC 2020
    - 164 bytes
    - Viewed (0)
  7. fastapi/security/utils.py

    from typing import Optional, Tuple
    
    
    def get_authorization_scheme_param(
        authorization_header_value: Optional[str],
    ) -> Tuple[str, str]:
        if not authorization_header_value:
            return "", ""
        scheme, _, param = authorization_header_value.partition(" ")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 13 14:26:09 UTC 2022
    - 293 bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

        List<Path> getPaths();
    
        /**
         * Returns the file paths of all dependencies, dispatched according the tool options where to place them.
         * The {@link PathType} keys identify, for example, {@code --class-path} or {@code --module-path} options.
         * In the case of Java tools, the map may also contain {@code --patch-module} options, which are
         * {@linkplain org.apache.maven.api.JavaPathType#patchModule(String) handled in a special way}.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/ForwardingNetwork.java

      public Set<E> edgesConnecting(EndpointPair<N> endpoints) {
        return delegate().edgesConnecting(endpoints);
      }
    
      @Override
      public Optional<E> edgeConnecting(N nodeU, N nodeV) {
        return delegate().edgeConnecting(nodeU, nodeV);
      }
    
      @Override
      public Optional<E> edgeConnecting(EndpointPair<N> endpoints) {
        return delegate().edgeConnecting(endpoints);
      }
    
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  10. tests/test_serialize_response_dataclass.py

    from dataclasses import dataclass
    from datetime import datetime
    from typing import List, Optional
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @dataclass
    class Item:
        name: str
        date: datetime
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 26 13:56:47 UTC 2022
    - 4.9K bytes
    - Viewed (0)
Back to top