- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 160 for Generics (0.06 seconds)
-
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) -
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) -
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) -
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) -
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) -
guava/src/com/google/common/collect/Lists.java
* use the {@code ArrayList} {@linkplain ArrayList#ArrayList() 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 callCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 42.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
// We assume that all defaults are generics-safe, even if they aren't, // we take the risk. @SuppressWarnings("unchecked") T defaultValue = (T) defaults.getInstance(type.getRawType()); if (defaultValue != null) { return defaultValue; } @SuppressWarnings("unchecked") // All arbitrary instances are generics-safe T arbitrary = (T) ArbitraryInstances.get(type.getRawType());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 25.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Optional.java
* value should be required because the instance is known to be present, use {@link #get()} * instead. For a default value of {@code null}, use {@link #orNull}. * * <p>Note about generics: The signature {@code public T or(T defaultValue)} is overly * restrictive. However, the ideal signature, {@code public <S super T> S or(S)}, is not legalCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
return name.startsWith("kotlin.jvm.functions.Function") } val ktTypeRawName = ktTypeAsText .trimEnd('?') // nullability is not part of JVM types .substringBefore('<') // generics are not part of parameter types in JVM method signatures val thisTypeAsKt = name.mapJavaTypeToKotlinType() return thisTypeAsKt.endsWith(ktTypeRawName) } private
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jul 08 07:02:19 GMT 2025 - 13.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
// We assume that all defaults are generics-safe, even if they aren't, // we take the risk. @SuppressWarnings("unchecked") T defaultValue = (T) defaults.getInstance(type.getRawType()); if (defaultValue != null) { return defaultValue; } @SuppressWarnings("unchecked") // All arbitrary instances are generics-safe T arbitrary = (T) ArbitraryInstances.get(type.getRawType());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0)