- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for generics (0.6 sec)
-
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) -
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) -
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) -
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) -
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) -
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 callRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 163.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
* * <p>The type specification is {@code <E extends Comparable>}, instead of the more specific * {@code <E extends Comparable<? super E>>}, to support classes defined without generics. */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 public static <E extends Comparable> TreeMultiset<E> create() { return new TreeMultiset<>(Ordering.natural()); } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 33.9K bytes - Viewed (0) -
docs/es/docs/python-types.md
Y entonces no tendrás que preocuparte por nombres como `Optional` y `Union`. 😎 #### Tipos genéricos { #generic-types } Estos tipos que toman parámetros de tipo en corchetes se llaman **Tipos Genéricos** o **Genéricos**, por ejemplo: //// tab | Python 3.10+ Puedes usar los mismos tipos integrados como genéricos (con corchetes y tipos dentro): * `list` * `tuple` * `set` * `dict`Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 16.4K bytes - Viewed (1) -
guava/src/com/google/common/collect/TreeMultiset.java
* * <p>The type specification is {@code <E extends Comparable>}, instead of the more specific * {@code <E extends Comparable<? super E>>}, to support classes defined without generics. */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 public static <E extends Comparable> TreeMultiset<E> create() { return new TreeMultiset<>(Ordering.natural()); } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 34.3K bytes - Viewed (0) -
docs/pt/docs/python-types.md
E então você não precisará mais se preocupar com nomes como `Optional` e `Union`. 😎 #### Tipos genéricos { #generic-types } Esses tipos que usam parâmetros de tipo entre colchetes são chamados **tipos genéricos** ou **genéricos**. Por exemplo: //// tab | Python 3.10+ Você pode utilizar os mesmos tipos internos como genéricos (com colchetes e tipos dentro): * `list` * `tuple` * `set` * `dict`Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 16.7K bytes - Viewed (0)