- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 168 for enums (0.15 sec)
-
analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/typeProvider/Fe10IdeNormalAnalysisSourceModuleHasCommonSubtypeTestGenerated.java
runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/dataClasses.kt"); } @Test @TestMetadata("enums.kt") public void testEnums() { runTest("analysis/analysis-api/testData/components/typeProvider/haveCommonSubtype/enums.kt"); } @Test @TestMetadata("simple.kt") public void testSimple() {
Java - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Feb 27 20:30:06 GMT 2024 - 3K bytes - Viewed (0) -
docs/de/docs/tutorial/path-params.md
### Erstellen Sie eine `Enum`-Klasse Importieren Sie `Enum` und erstellen Sie eine Unterklasse, die von `str` und `Enum` erbt. Indem Sie von `str` erben, weiß die API Dokumentation, dass die Werte des Enums vom Typ `str` sein müssen, und wird in der Lage sein, korrekt zu rendern.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:28:59 GMT 2024 - 10.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/psiUtils.kt
} /** * Finds [PsiElement] which will be used as go-to referenced element for [KtPsiReference] * For data classes & enums generated members like `copy` `componentN`, `values` it will return corresponding enum/data class * Otherwise, behaves the same way as [findPsi] returns exact PSI declaration corresponding to passed [FirDeclaration] */ fun FirDeclaration.findReferencePsi(): PsiElement? {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Mar 22 16:46:56 GMT 2024 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Platform.java
} static <T extends Enum<T>> Optional<T> getEnumIfPresent(Class<T> enumClass, String value) { WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value); /* * We use `fromNullable` instead of `of` because `WeakReference.get()` has a nullable return * type. * * In practice, we are very unlikely to see `null`: The `WeakReference` to the enum constant
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 15 22:32:14 GMT 2024 - 3.8K bytes - Viewed (0) -
analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/symbolDeclarationRenderer/Fe10IdeNormalAnalysisSourceModuleRendererTestGenerated.java
} @Test @TestMetadata("enums.kt") public void testEnums() { runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/enums.kt"); } @Test @TestMetadata("enums2.kt") public void testEnums2() { runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/enums2.kt"); } @Test
Java - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Mar 26 18:26:10 GMT 2024 - 9.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnum.java
* under the License. */ package org.apache.maven.api; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; /** * Interface that defines some kind of enums that can be extended by Maven plugins or extensions. * * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface * can be used as keys. * * @since 4.0.0 */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 1.5K bytes - Viewed (0) -
okhttp-logging-interceptor/api/logging-interceptor.api
public static final field BASIC Lokhttp3/logging/HttpLoggingInterceptor$Level; public static final field BODY Lokhttp3/logging/HttpLoggingInterceptor$Level; public static final field HEADERS Lokhttp3/logging/HttpLoggingInterceptor$Level; public static final field NONE Lokhttp3/logging/HttpLoggingInterceptor$Level; public static fun getEntries ()Lkotlin/enums/EnumEntries;
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 4.5K bytes - Viewed (1) -
docs/en/docs/tutorial/path-params.md
### Create an `Enum` class Import `Enum` and create a sub-class that inherits from `str` and from `Enum`. By inheriting from `str` the API docs will be able to know that the values must be of type `string` and will be able to render correctly.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/zh/docs/tutorial/path-params.md
``` 否则,`/users/{user_id}` 将匹配 `/users/me`,FastAPI 会**认为**正在接收值为 `"me"` 的 `user_id` 参数。 ## 预设值 路径操作使用 Python 的 <abbr title="Enumeration">`Enum`</abbr> 类型接收预设的*路径参数*。 ### 创建 `Enum` 类 导入 `Enum` 并创建继承自 `str` 和 `Enum` 的子类。 通过从 `str` 继承,API 文档就能把值的类型定义为**字符串**,并且能正确渲染。 然后,创建包含固定值的类属性,这些固定值是可用的有效值: ```Python hl_lines="1 6-9" {!../../../docs_src/path_params/tutorial005.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 01 05:35:40 GMT 2024 - 7.6K bytes - Viewed (0) -
docs/fr/docs/tutorial/path-params.md
### Création d'un `Enum` Importez `Enum` et créez une sous-classe qui hérite de `str` et `Enum`. En héritant de `str` la documentation sera capable de savoir que les valeurs doivent être de type `string` et pourra donc afficher cette `Enum` correctement.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10K bytes - Viewed (0)