Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for enum (0.02 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

       * <p><b>Note:</b> if elements are non-null and won't be added or removed after this point, use
       * {@link ImmutableSet#of()} or {@link ImmutableSet#copyOf(Object[])} instead. If {@code E} is an
       * {@link Enum} type, use {@link EnumSet#of(Enum, Enum[])} instead. Otherwise, strongly consider
       * using a {@code LinkedHashSet} instead, at the cost of increased memory footprint, to get
       * deterministic iteration behavior.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. tests/test_application.py

                },
                "/enum-status-code": {
                    "get": {
                        "responses": {
                            "201": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            },
                        },
                        "summary": "Get Enum Status Code",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    // struct_foo becomes "struct foo", and similarly for
    // union and enum.
    func cname(s string) string {
    	if t, ok := nameToC[s]; ok {
    		return t
    	}
    
    	if t, ok := strings.CutPrefix(s, "struct_"); ok {
    		return "struct " + t
    	}
    	if t, ok := strings.CutPrefix(s, "union_"); ok {
    		return "union " + t
    	}
    	if t, ok := strings.CutPrefix(s, "enum_"); ok {
    		return "enum " + t
    	}
    	if t, ok := strings.CutPrefix(s, "sizeof_"); ok {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(TypeToken.of(Object.class), new TypeToken<T[]>() {}.getGenericSuperclass());
      }
    
      public <T extends Enum<T> & Serializable>
          void testGetGenericSuperclass_typeVariable_boundIsFBoundedClass() {
        assertEquals(
            new TypeToken<Enum<T>>() {},
            TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericSuperclass());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(TypeToken.of(Object.class), new TypeToken<T[]>() {}.getGenericSuperclass());
      }
    
      public <T extends Enum<T> & Serializable>
          void testGetGenericSuperclass_typeVariable_boundIsFBoundedClass() {
        assertEquals(
            new TypeToken<Enum<T>>() {},
            TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericSuperclass());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  6. okhttp/api/okhttp.api

    	public final fun toDns ([Lokhttp3/AsyncDns;)Lokhttp3/Dns;
    }
    
    public final class okhttp3/AsyncDns$DnsClass : java/lang/Enum {
    	public static final field IPV4 Lokhttp3/AsyncDns$DnsClass;
    	public static final field IPV6 Lokhttp3/AsyncDns$DnsClass;
    	public static fun getEntries ()Lkotlin/enums/EnumEntries;
    	public final fun getType ()I
    	public static fun valueOf (Ljava/lang/String;)Lokhttp3/AsyncDns$DnsClass;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

     *  **Cipher suites may now have arbitrary names.** Previously `CipherSuite` was
        a Java enum and it was impossible to define new cipher suites without first
        upgrading OkHttp. With this change it is now a regular Java class with
        enum-like constants. Application code that uses enum methods on cipher
        suites (`ordinal()`, `name()`, etc.) will break with this change.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

            public StatsCounter get() {
              return new SimpleStatsCounter();
            }
          };
    
      enum NullListener implements RemovalListener<Object, Object> {
        INSTANCE;
    
        @Override
        public void onRemoval(RemovalNotification<Object, Object> notification) {}
      }
    
      enum OneWeigher implements Weigher<Object, Object> {
        INSTANCE;
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterators.java

        return (UnmodifiableListIterator<T>) ArrayItr.EMPTY;
      }
    
      /**
       * This is an enum singleton rather than an anonymous class so ProGuard can figure out it's only
       * referenced by emptyModifiableIterator().
       */
      private enum EmptyModifiableIterator implements Iterator<Object> {
        INSTANCE;
    
        @Override
        public boolean hasNext() {
          return false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

            public StatsCounter get() {
              return new SimpleStatsCounter();
            }
          };
    
      enum NullListener implements RemovalListener<Object, Object> {
        INSTANCE;
    
        @Override
        public void onRemoval(RemovalNotification<Object, Object> notification) {}
      }
    
      enum OneWeigher implements Weigher<Object, Object> {
        INSTANCE;
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top