Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 95 for generics (0.04 seconds)

  1. generics.go

    Jinzhu <******@****.***> 1762092514 +0800
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  2. docs/ru/docs/python-types.md

    И тогда вам не придётся задумываться о названиях вроде `Optional` и `Union`. 😎
    
    #### Generic-типы { #generic-types }
    
    Типы, которые принимают параметры типов в квадратных скобках, называются **Generic-типами** или **Generics**, например:
    
    //// tab | Python 3.10+
    
    Вы можете использовать те же встроенные типы как generics (с квадратными скобками и типами внутри):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  3. docs/en/docs/python-types.md

    And then you won't have to worry about names like `Optional` and `Union`. 😎
    
    #### Generic types { #generic-types }
    
    These types that take type parameters in square brackets are called **Generic types** or **Generics**, for example:
    
    //// tab | Python 3.10+
    
    You can use the same builtin types as generics (with square brackets and types inside):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. tests/generics_test.go

    		},
    		{
    			Name:     "generics-nested-joins-2",
    			Manager:  GetUser("generics-nested-joins-manager-2", Config{Company: true, NamedPet: true}),
    			NamedPet: &Pet{Name: "generics-nested-joins-namepet-2", Toy: Toy{Name: "generics-nested-joins-namepet-toy-2"}},
    		},
    	}
    
    	ctx := context.Background()
    	db := gorm.G[User](DB)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  5. docs/de/docs/python-types.md

    Und dann müssen Sie sich nicht mehr um Namen wie `Optional` und `Union` kümmern. 😎
    
    #### Generische Typen { #generic-types }
    
    Diese Typen, die Typ-Parameter in eckigen Klammern akzeptieren, werden **generische Typen** oder **Generics** genannt.
    
    //// tab | Python 3.10+
    
    Sie können die eingebauten Typen als Generics verwenden (mit eckigen Klammern und Typen darin):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 17.9K bytes
    - Click Count (1)
  6. README.md

    - **Type safety** - Extensive use of generics and null-safe operations throughout the API
    - **Resource management** - Proper handling of resources with utilities like `CloseableUtil` and `DisposableUtil`
    
    ### Key Architectural Patterns
    - **Factory Pattern** - `BeanDescFactory` for creating bean descriptors, `ParameterizedClassDescFactory` for generic type handling
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  7. internal/grid/README.md

            // Do something with payload
            return NewMSSWith(map[string]string{"result": "ok"}), nil
        }
    
        // Create a typed handler.
        // Due to current generics limitations, a constructor of the empty type must be provided.
        instance := grid.NewSingleHandler[*grid.MSS, *grid.MSS](h, grid.NewMSS, grid.NewMSS)
    
        // Register the handler on the manager
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Sets.java

       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code HashSet} constructor directly, taking advantage of <a
       * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"
       * syntax</a>.
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 81.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Maps.java

       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code HashMap} constructor directly, taking advantage of <a
       * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"
       * syntax</a>.
       *
       * @return a new, empty {@code HashMap}
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Maps.java

       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code HashMap} constructor directly, taking advantage of <a
       * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"
       * syntax</a>.
       *
       * @return a new, empty {@code HashMap}
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 163.5K bytes
    - Click Count (0)
Back to Top