- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 568 for enum (0.05 sec)
-
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
*/ static GetCheckedTypeValidator getBestValidator() { try { @SuppressWarnings("rawtypes") // class literals Class<? extends Enum> theClass = Class.forName(CLASS_VALUE_VALIDATOR_NAME).asSubclass(Enum.class); return (GetCheckedTypeValidator) theClass.getEnumConstants()[0]; } catch (ClassNotFoundException | RuntimeException
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 11.9K bytes - Viewed (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/model/License.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.modules.model enum class License(val displayName: String) { Apache2("Apache 2.0"), BSD3("3-Clause BSD"), BSDStyle("BSD-style"), CDDL("CDDL"), EDL("Eclipse Distribution License 1.0"), EPL("Eclipse Public License 1.0"),
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jan 08 10:41:04 UTC 2021 - 922 bytes - Viewed (0) -
docs/ko/docs/tutorial/path-params.md
## 사전정의 값 만약 *경로 매개변수*를 받는 *경로 작동*이 있지만, *경로 매개변수*로 가능한 값들을 미리 정의하고 싶다면 파이썬 표준 <abbr title="열거형(Enumeration)">`Enum`</abbr>을 사용할 수 있습니다. ### `Enum` 클래스 생성 `Enum`을 임포트하고 `str`과 `Enum`을 상속하는 서브 클래스를 만듭니다. `str`을 상속함으로써 API 문서는 값이 `string` 형이어야 하는 것을 알게 되고 이는 문서에 제대로 표시됩니다. 가능한 값들에 해당하는 고정된 값의 클래스 어트리뷰트들을 만듭니다: ```Python hl_lines="1 6-9"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionRequestTypeEnum.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.repository.metadata; /** * MetadataResolutionRequestTypeEnum */ @Deprecated public enum MetadataResolutionRequestTypeEnum { tree(1), graph(2), classpathCompile(3), classpathTest(4), classpathRuntime(5), versionedGraph(6), scopedGraph(7); private int id;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/EventType.java
*/ package org.apache.maven.api; import org.apache.maven.api.annotations.Experimental; /** * The possible types of execution events. * * @since 4.0.0 */ @Experimental public enum EventType { PROJECT_DISCOVERY_STARTED, SESSION_STARTED, SESSION_ENDED, PROJECT_SKIPPED, PROJECT_STARTED, PROJECT_SUCCEEDED, PROJECT_FAILED, MOJO_SKIPPED, MOJO_STARTED,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 1.3K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/testing/TestType.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.basics.testing import org.gradle.api.tasks.testing.Test enum class TestType(val prefix: String, val executers: List<String>) { INTEGRATION("integ", listOf("embedded", "forking", "noDaemon", "parallel", "configCache", "isolatedProjects")),
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 1.3K bytes - Viewed (0) -
fastapi/openapi/models.py
from enum import Enum from typing import Any, Callable, Dict, Iterable, List, Optional, Set, Type, Union from fastapi._compat import ( PYDANTIC_V2, CoreSchema, GetJsonSchemaHandler, JsonSchemaValue, _model_rebuild, with_info_plain_validator_function, ) from fastapi.logger import logger from pydantic import AnyUrl, BaseModel, Field from typing_extensions import Annotated, Literal, TypedDict
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 22:49:33 UTC 2024 - 15K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java
private Class<? extends Enum> enumType; private String[] sampleData; @BeforeExperiment void setUp() throws ClassNotFoundException { Preconditions.checkArgument(hitRate >= 0 && hitRate <= 1, "hitRate must be in the range [0,1]"); enumType = Class.forName(EnumsBenchmark.class.getCanonicalName() + "$" + enumSize + "Enum") .asSubclass(Enum.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 29.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/TlsVersion.kt
* limitations under the License. */ package okhttp3 /** * Versions of TLS that can be offered when negotiating a secure socket. See * [javax.net.ssl.SSLSocket.setEnabledProtocols]. */ enum class TlsVersion( @get:JvmName("javaName") val javaName: String, ) { TLS_1_3("TLSv1.3"), // 2016. TLS_1_2("TLSv1.2"), // 2008. TLS_1_1("TLSv1.1"), // 2006. TLS_1_0("TLSv1"), // 1999.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfiguration.java
* implementation. * * @since 3.1.0 */ public interface Slf4jConfiguration { /** * Level */ enum Level { DEBUG, INFO, ERROR } /** * Set root logging level. * * @param level the level */ void setRootLoggerLevel(Level level); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0)