Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 517 for Enum (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AnEnum.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A sample enumerated type we use for testing.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public enum AnEnum {
      A,
      B,
      C,
      D,
      E,
      F
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 854 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Funnel.java

     * serialization of funnels. When possible, it is recommended that funnels be implemented as a
     * single-element enum to maintain serialization guarantees. See Effective Java (2nd Edition), Item
     * 3: "Enforce the singleton property with a private constructor or an enum type". For example:
     *
     * {@snippet :
     * public enum PersonFunnel implements Funnel<Person> {
     *   INSTANCE;
     *   public void funnel(Person person, PrimitiveSink into) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/path-params.md

    ### Створення класу `Enum`
    
    Імпортуйте `Enum` і створіть підклас, що наслідується від `str` та `Enum`.
    
    Наслідуючи від `str`, документація API зможе визначити, що значення повинні бути типу `string`, і правильно їх відобразить.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/path-params.md

    ### ✍ `Enum` 🎓
    
    🗄 `Enum` &amp; ✍ 🎧-🎓 👈 😖 ⚪️➡️ `str` &amp; ⚪️➡️ `Enum`.
    
    😖 ⚪️➡️ `str` 🛠️ 🩺 🔜 💪 💭 👈 💲 🔜 🆎 `string` &amp; 🔜 💪 ✍ ☑.
    
    ⤴️ ✍ 🎓 🔢 ⏮️ 🔧 💲, ❔ 🔜 💪 ☑ 💲:
    
    {* ../../docs_src/path_params/tutorial005.py hl[1,6:9] *}
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

                ? EnumMultiset.create(AnEnum.class)
                : EnumMultiset.create(asList(elements));
          }
        };
      }
    
      private enum Color {
        BLUE,
        RED,
        YELLOW,
        GREEN,
        WHITE
      }
    
      private enum Gender {
        MALE,
        FEMALE
      }
    
      public void testClassCreate() {
        Multiset<Color> ms = EnumMultiset.create(Color.class);
        ms.add(Color.RED);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

         * Provides common functionality for all extensible enum implementations.
         */
        private static class DefaultExtensibleEnum implements ExtensibleEnum {
    
            private final String id;
    
            /**
             * Creates a new DefaultExtensibleEnum with the specified ID.
             *
             * @param id the identifier for this enum value, must not be null
             */
            DefaultExtensibleEnum(String id) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/ErrorCode.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    /** http://tools.ietf.org/html/draft-ietf-httpbis-http2-17#section-7 */
    enum class ErrorCode constructor(
      val httpCode: Int,
    ) {
      /** Not an error!  */
      NO_ERROR(0),
    
      PROTOCOL_ERROR(1),
    
      INTERNAL_ERROR(2),
    
      FLOW_CONTROL_ERROR(3),
    
      SETTINGS_TIMEOUT(4),
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaCapability.java

     */
    package jcifs.internal.smb2.rdma;
    
    /**
     * RDMA capability flags indicating what operations are supported
     * by an RDMA provider implementation.
     */
    public enum RdmaCapability {
        /**
         * Remote direct read operations
         */
        RDMA_READ,
    
        /**
         * Remote direct write operations
         */
        RDMA_WRITE,
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/EventType.java

     */
    package org.apache.maven.api;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * The possible types of execution events.
     *
     * @since 4.0.0
     */
    @Experimental
    public enum EventType {
        PROJECT_DISCOVERY_STARTED,
        SESSION_STARTED,
        SESSION_ENDED,
        PROJECT_SKIPPED,
        PROJECT_STARTED,
        PROJECT_SUCCEEDED,
        PROJECT_FAILED,
        MOJO_SKIPPED,
        MOJO_STARTED,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionRequestTypeEnum.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.metadata;
    
    /**
     * MetadataResolutionRequestTypeEnum
     */
    @Deprecated
    public enum MetadataResolutionRequestTypeEnum {
        tree(1),
        graph(2),
        classpathCompile(3),
        classpathTest(4),
        classpathRuntime(5),
        versionedGraph(6),
        scopedGraph(7);
    
        private int id;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top