Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 280 for generics (0.08 sec)

  1. generics.go

    Jinzhu <******@****.***> 1762092514 +0800
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  2. 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`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. docs/ru/docs/python-types.md

    И Ρ‚ΠΎΠ³Π΄Π° Π²Π°ΠΌ Π½Π΅ придётся Π·Π°Π΄ΡƒΠΌΡ‹Π²Π°Ρ‚ΡŒΡΡ ΠΎ названиях Π²Ρ€ΠΎΠ΄Π΅ `Optional` ΠΈ `Union`. 😎
    
    #### Generic-Ρ‚ΠΈΠΏΡ‹ { #generic-types }
    
    Π’ΠΈΠΏΡ‹, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ ΠΏΡ€ΠΈΠ½ΠΈΠΌΠ°ΡŽΡ‚ ΠΏΠ°Ρ€Π°ΠΌΠ΅Ρ‚Ρ€Ρ‹ Ρ‚ΠΈΠΏΠΎΠ² Π² ΠΊΠ²Π°Π΄Ρ€Π°Ρ‚Π½Ρ‹Ρ… скобках, Π½Π°Π·Ρ‹Π²Π°ΡŽΡ‚ΡΡ **Generic-Ρ‚ΠΈΠΏΠ°ΠΌΠΈ** ΠΈΠ»ΠΈ **Generics**, Π½Π°ΠΏΡ€ΠΈΠΌΠ΅Ρ€:
    
    //// tab | Python 3.10+
    
    Π’Ρ‹ ΠΌΠΎΠΆΠ΅Ρ‚Π΅ ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒ Ρ‚Π΅ ΠΆΠ΅ встроСнныС Ρ‚ΠΈΠΏΡ‹ ΠΊΠ°ΠΊ generics (с ΠΊΠ²Π°Π΄Ρ€Π°Ρ‚Π½Ρ‹ΠΌΠΈ скобками ΠΈ Ρ‚ΠΈΠΏΠ°ΠΌΠΈ Π²Π½ΡƒΡ‚Ρ€ΠΈ):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 24.4K bytes
    - Viewed (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)
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 33.7K bytes
    - Viewed (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`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.9K bytes
    - Viewed (1)
  6. android/guava-tests/test/com/google/common/collect/Derived.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Simple derived class to verify that we handle generics correctly. */
    @GwtCompatible
    @NullUnmarked
    class Derived extends Base {
      public Derived(String s) {
        super(s);
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Simple base class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class BaseComparable implements Comparable<BaseComparable>, Serializable {
      private final String s;
    
      public BaseComparable(String s) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/DerivedComparable.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    
    /**
     * Simple derived class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class DerivedComparable extends BaseComparable {
      public DerivedComparable(String s) {
        super(s);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/DerivedComparable.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    
    /**
     * Simple derived class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class DerivedComparable extends BaseComparable {
      public DerivedComparable(String s) {
        super(s);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/LegacyComparable.java

    import java.io.Serializable;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A class that implements {@code Comparable} without generics, such as those found in libraries
     * that support Java 1.4 and before. Our library needs to do the bare minimum to accommodate such
     * types, though their use may still require an explicit type parameter and/or warning suppression.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top