- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 945 for typesIn (0.06 seconds)
-
guava-tests/test/com/google/common/reflect/TypesTest.java
* and output. */ public void testNewParameterizedTypeImmutability() { Type[] typesIn = {String.class, Integer.class}; ParameterizedType parameterizedType = Types.newParameterizedType(Map.class, typesIn); typesIn[0] = null; typesIn[1] = null; Type[] typesOut = parameterizedType.getActualTypeArguments(); typesOut[0] = null; typesOut[1] = null;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 15.5K bytes - Click Count (0) -
docs/de/docs/python-types.md
print(data) ``` ### Generische Typen { #generic-types } Einige Typen können „Typ-Parameter“ in eckigen Klammern annehmen, um ihre inneren Typen zu definieren, z. B. eine „Liste von Strings“ würde als `list[str]` deklariert. Diese Typen, die Typ-Parameter annehmen können, werden **generische Typen** oder **Generics** genannt. Sie können dieselben eingebauten Typen als Generics verwenden (mit eckigen Klammern und Typen darin):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 12.6K bytes - Click Count (1) -
android/guava/src/com/google/common/reflect/Types.java
} private static Type[] toArray(Collection<Type> types) { return types.toArray(new Type[0]); } private static Iterable<Type> filterUpperBounds(Iterable<Type> bounds) { return Iterables.filter(bounds, Predicates.not(Predicates.<Type>equalTo(Object.class))); } private static void disallowPrimitiveType(Type[] types, String usedAs) { for (Type type : types) { if (type instanceof Class) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0) -
docs/de/docs/tutorial/extra-data-types.md
* Sie können alle gültigen Pydantic-Datentypen hier überprüfen: [Pydantic-Datentypen](https://docs.pydantic.dev/latest/usage/types/types/). ## Beispiel { #example } Hier ist ein Beispiel für eine *Pfadoperation* mit Parametern, die einige der oben genannten Typen verwenden. {* ../../docs_src/extra_data_types/tutorial001_an_py310.py hl[1,3,12:16] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 3.1K bytes - Click Count (0) -
internal/logger/target/loggertypes/types.go
package loggertypes // TargetType indicates type of the target e.g. console, http, kafka type TargetType uint8 //go:generate stringer -type=TargetType -trimprefix=Target $GOFILE // Constants for target types const ( _ TargetType = iota TargetConsole TargetHTTP TargetKafka ) // TargetStats contains statistics for a target. type TargetStats struct {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 18 21:56:31 GMT 2025 - 1.4K bytes - Click Count (0) -
fastapi/types.py
import types from collections.abc import Callable from enum import Enum from typing import Any, TypeVar, Union from pydantic import BaseModel from pydantic.main import IncEx as IncEx DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any]) UnionType = getattr(types, "UnionType", Union) ModelNameMap = dict[type[BaseModel] | type[Enum], str]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:41:21 GMT 2026 - 438 bytes - Click Count (0) -
docs/en/docs/python-types.md
print(data) ``` ### Generic types { #generic-types } Some types can take "type parameters" in square brackets, to define their internal types, for example a "list of strings" would be declared `list[str]`. These types that can take type parameters are called **Generic types** or **Generics**. You can use the same builtin types as generics (with square brackets and types inside): * `list` * `tuple` * `set`
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
docs/de/docs/advanced/advanced-python-types.md
# Fortgeschrittene Python-Typen { #advanced-python-types } Hier sind einige zusätzliche Ideen, die beim Arbeiten mit Python-Typen nützlich sein könnten. ## `Union` oder `Optional` verwenden { #using-union-or-optional } Wenn Ihr Code aus irgendeinem Grund nicht `|` verwenden kann, z. B. wenn es nicht in einer Typannotation ist, sondern in etwas wie `response_model=`, können Sie anstelle des senkrechten Strichs (`|`) `Union` aus `typing` verwenden.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 07:57:30 GMT 2026 - 2.3K bytes - Click Count (0) -
docs/es/docs/python-types.md
Escribes el primer parámetro de la función, `first_name`, luego un punto (`.`) y luego presionas `Ctrl+Espacio` para activar el autocompletado. Pero, tristemente, no obtienes nada útil: <img src="/img/python-types/image01.png"> ### Añadir tipos { #add-types } Modifiquemos una sola línea de la versión anterior. Cambiaremos exactamente este fragmento, los parámetros de la función, de: ```Python first_name, last_name ``` a:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 11.6K bytes - Click Count (1) -
docs/pt/docs/python-types.md
Mas, infelizmente, você não obtém nada útil: <img src="/img/python-types/image01.png"> ### Adicionar tipos { #add-types } Vamos modificar uma única linha da versão anterior. Vamos mudar exatamente esse fragmento, os parâmetros da função, de: ```Python first_name, last_name ``` para:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 11.7K bytes - Click Count (0)