Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 405 for Optional (0.23 sec)

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

     */
    @DoNotMock("Use Optional.of(value) or Optional.absent()")
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    public abstract class Optional<T> implements Serializable {
      /**
       * Returns an {@code Optional} instance with no contained reference.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method is equivalent to Java 8's
       * {@code Optional.empty}.
       */
      public static <T> Optional<T> absent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/OptionalTest.java

        List<Optional<Object>> optionals = ImmutableList.of(Optional.absent(), Optional.absent());
        assertThat(Optional.presentInstances(optionals)).isEmpty();
      }
    
      public void testPresentInstances_somePresent() {
        List<Optional<String>> optionals =
            ImmutableList.of(Optional.of("a"), Optional.<String>absent(), Optional.of("c"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/apps/v1beta2/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 3;
    
      // The reason for the condition's last transition.
      // +optional
      optional string reason = 4;
    
      // A human readable message indicating details about the transition.
      // +optional
      optional string message = 5;
    }
    
    // DaemonSetList is a collection of daemon sets.
    message DaemonSetList {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/authorization/v1/generated.proto

      // +optional
      optional string version = 4;
    
      // Resource is one of the existing resource types.  "*" means all.
      // +optional
      optional string resource = 5;
    
      // Subresource is one of the existing resource types.  "" means none.
      // +optional
      optional string subresource = 6;
    
      // Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 3;
    
      // The reason for the condition's last transition.
      // +optional
      optional string reason = 4;
    
      // A human readable message indicating details about the transition.
      // +optional
      optional string message = 5;
    }
    
    // DaemonSetList is a collection of daemon sets.
    message DaemonSetList {
      // Standard list metadata.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/autoscaling/v2/generated.proto

      // +optional
      optional string reason = 4;
    
      // message is a human-readable explanation containing details about
      // the transition
      // +optional
      optional string message = 5;
    }
    
    // HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.
    message HorizontalPodAutoscalerList {
      // metadata is the standard list metadata.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/autoscaling/v2beta1/generated.proto

      // one status to another
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 3;
    
      // reason is the reason for the condition's last transition.
      // +optional
      optional string reason = 4;
    
      // message is a human-readable explanation containing details about
      // the transition
      // +optional
      optional string message = 5;
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. fastapi/params.py

            serialization_alias: Union[str, None] = None,
            title: Optional[str] = None,
            description: Optional[str] = None,
            gt: Optional[float] = None,
            ge: Optional[float] = None,
            lt: Optional[float] = None,
            le: Optional[float] = None,
            min_length: Optional[int] = None,
            max_length: Optional[int] = None,
            pattern: Optional[str] = None,
            regex: Annotated[
                Optional[str],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 18:06:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> nonRecursive() {
            if (commandLine.hasOption(CLIManager.NON_RECURSIVE)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> updateSnapshots() {
            if (commandLine.hasOption(CLIManager.UPDATE_SNAPSHOTS)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/apps/v1/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 3;
    
      // The reason for the condition's last transition.
      // +optional
      optional string reason = 4;
    
      // A human readable message indicating details about the transition.
      // +optional
      optional string message = 5;
    }
    
    // DaemonSetList is a collection of daemon sets.
    message DaemonSetList {
      // Standard list metadata.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top