- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 340 for enim (0.13 sec)
-
guava/src/com/google/common/collect/EnumHashBiMap.java
@J2ktIncompatible @ElementTypesAreNonnullByDefault public final class EnumHashBiMap<K extends Enum<K>, V extends @Nullable Object> extends AbstractBiMap<K, V> { transient Class<K> keyTypeOrObjectUnderJ2cl; /** * Returns a new, empty {@code EnumHashBiMap} using the specified key type. * * @param keyType the key type */ public static <K extends Enum<K>, V extends @Nullable Object> EnumHashBiMap<K, V> create( Class<K> keyType) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Aug 24 01:40:03 GMT 2023 - 5.4K bytes - Viewed (0) -
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) -
fastapi/types.py
import types from enum import Enum from typing import Any, Callable, Dict, Set, Type, TypeVar, Union from pydantic import BaseModel DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any]) UnionType = getattr(types, "UnionType", Union) ModelNameMap = Dict[Union[Type[BaseModel], Type[Enum]], str]
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Dec 12 00:29:03 GMT 2023 - 383 bytes - Viewed (0) -
guava/src/com/google/common/base/Platform.java
private Platform() {} static CharMatcher precomputeCharMatcher(CharMatcher matcher) { return matcher.precomputedInternal(); } static <T extends Enum<T>> Optional<T> getEnumIfPresent(Class<T> enumClass, String value) { WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value); return ref == null ? Optional.<T>absent() : Optional.of(enumClass.cast(ref.get())); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Jun 26 17:58:45 GMT 2023 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableEnumSet.java
*/ @GwtCompatible(serializable = true, emulated = true) @SuppressWarnings("serial") // we're overriding default serialization @ElementTypesAreNonnullByDefault final class ImmutableEnumSet<E extends Enum<E>> extends ImmutableSet<E> { static <E extends Enum<E>> ImmutableSet<E> asImmutable(EnumSet<E> set) { switch (set.size()) { case 0: return ImmutableSet.of(); case 1:
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 4.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/Os.kt
* limitations under the License. */ package common enum class Arch(val suffix: String, val nameOnLinuxWindows: String, val nameOnMac: String) { AMD64("64bit", "amd64", "x86_64"), AARCH64("aarch64", "aarch64", "aarch64"); fun asName() = name.lowercase().toCapitalized() } enum class Os( val agentRequirement: String, val androidHome: String, val jprofilerHome: String,
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Sun Sep 24 06:56:47 GMT 2023 - 2.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-params.md
### Создание класса `Enum` Импортируйте `Enum` и создайте подкласс, который наследуется от `str` и `Enum`. Мы наследуемся от `str`, чтобы документация API могла понять, что значения должны быть типа `string` и отображалась правильно.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 14.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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt
} /** * An enum class to specify the distance of scopes from an element as a partial order * * Example: * import ... // scope1 FirExplicitSimpleImportingScope - enum entry: ExplicitSimpleImporting * // scope2 FirPackageMemberScope - enum entry: PackageMember * class Outer { // scope3 FirClassUseSiteMemberScope - enum entry: ClassUseSite
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:51:33 GMT 2024 - 69.5K 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"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.8K bytes - Viewed (0)