Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 517 for Enum (0.01 sec)

  1. docs/en/docs/tutorial/path-operation-configuration.md

    If you have a big application, you might end up accumulating **several tags**, and you would want to make sure you always use the **same tag** for related *path operations*.
    
    In these cases, it could make sense to store the tags in an `Enum`.
    
    **FastAPI** supports that the same way as with plain strings:
    
    {* ../../docs_src/path_operation_configuration/tutorial002b.py hl[1,8:10,13,18] *}
    
    ## Summary and description { #summary-and-description }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Language.java

    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    
    import static org.apache.maven.api.ExtensibleEnums.language;
    
    /**
     * Language.
     * <p>
     * This extensible enum has two defined values, {@link #NONE} and {@link #JAVA_FAMILY},
     * but can be extended by registering a {@code org.apache.maven.api.spi.LanguageProvider}.
     * <p>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 12:22:39 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/TestUtil.java

      static final String ERROR_ELEMENT_REMOVED = "used to generate this set";
      private static final String NODE_STRING = "Node";
      private static final String EDGE_STRING = "Edge";
    
      enum EdgeType {
        UNDIRECTED,
        DIRECTED;
      }
    
      private TestUtil() {}
    
      static void assertNodeNotInGraphErrorMessage(Throwable throwable) {
        assertThat(throwable).hasMessageThat().startsWith(NODE_STRING);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java

         * <p>
         * The validation levels are cumulative, with higher versions including all validations
         * from lower versions plus additional checks specific to that version.
         */
        enum Version {
            /**
             * Base validation level that applies to all POM versions.
             * Includes fundamental structural validations.
             */
            BASE,
    
            /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:31:13 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

    /**
     * Optional features of classes derived from {@code Map}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MapFeature implements Feature<Map> {
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code containsKey(null)},
       * {@code get(null)}, {@code keySet().contains(null)} or {@code remove(null)}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/RemovalCause.java

    import java.util.Iterator;
    import java.util.Map;
    import java.util.concurrent.ConcurrentMap;
    
    /**
     * The reason why a cached entry was removed.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    public enum RemovalCause {
      /**
       * The entry was manually removed by the user. This can result from the user invoking {@link
       * Cache#invalidate}, {@link Cache#invalidateAll(Iterable)}, {@link Cache#invalidateAll()}, {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/BaseApiManager.java

        /** Path prefix for API endpoints. */
        protected String pathPrefix;
    
        /**
         * Enumeration of supported API format types.
         */
        protected enum FormatType {
            /** Search API format. */
            SEARCH,
            /** Label API format. */
            LABEL,
            /** Popular word API format. */
            POPULARWORD,
            /** Favorite API format. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

                  + " but returned result: "
                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/query-params.md

    In diesem Fall gibt es drei Query-Parameter:
    
    * `needy`, ein erforderlicher `str`.
    * `skip`, ein `int` mit einem Defaultwert `0`.
    * `limit`, ein optionales `int`.
    
    /// tip | Tipp
    
    Sie können auch `Enum`s verwenden, auf die gleiche Weise wie mit [Pfad-Parametern](path-params.md#vordefinierte-parameterwerte){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

             *            The cal to set.
             */
            public void setCal(final Calendar cal) {
                this.cal = cal;
            }
        }
    
        /**
         *
         */
        public enum MyEnum {
            /**
             *
             */
            ONE,
            /**
             *
             */
            TWO
        }
    
        /**
         *
         */
        private class MyDto {
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top