- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 424 for enum_ (0.35 sec)
-
docs/pt/docs/tutorial/path-operation-configuration.md
<img src="/img/tutorial/path-operation-configuration/image01.png"> ### Tags com Enums Se você tem uma grande aplicação, você pode acabar acumulando **várias tags**, e você gostaria de ter certeza de que você sempre usa a **mesma tag** para *operações de rota* relacionadas. Nestes casos, pode fazer sentido armazenar as tags em um `Enum`. **FastAPI** suporta isso da mesma maneira que com strings simples:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5.9K bytes - Viewed (0) -
docs/en/docs/tutorial/path-operation-configuration.md
<img src="/img/tutorial/path-operation-configuration/image01.png"> ### Tags with Enums If you have a big application, you might end up accumulating **several tags**, and you would want to make sure you always use the **same tag** for related *path operations*. In these cases, it could make sense to store the tags in an `Enum`. **FastAPI** supports that the same way as with plain strings:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
/** * Identifier used to encode this strategy, when marshalled as part of a BloomFilter. Only * values in the [-128, 127] range are valid for the compact serial form. Non-negative values * are reserved for enums defined in BloomFilterStrategies; negative values are reserved for any * custom, stateful strategy we may define (e.g. any kind of strategy that would depend on user * input). */ int ordinal(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 23.1K bytes - Viewed (0) -
mockwebserver-deprecated/api/mockwebserver.api
public static final field STALL_SOCKET_AT_START Lokhttp3/mockwebserver/SocketPolicy; public static final field UPGRADE_TO_SSL_AT_END Lokhttp3/mockwebserver/SocketPolicy; public static fun getEntries ()Lkotlin/enums/EnumEntries; public static fun valueOf (Ljava/lang/String;)Lokhttp3/mockwebserver/SocketPolicy; public static fun values ()[Lokhttp3/mockwebserver/SocketPolicy;
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jul 22 12:28:51 GMT 2023 - 10.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
wildcardBoundUsesImplicitlyRecursiveBoundedWildcard(UseList<? extends List<Enum<?>>> arg) { return isSubtype(arg); } @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true) public UseList<? extends List<Enum<? extends Enum<?>>>> wildcardBoundHasImplicitBoundAtsInvariantPosition(UseList<? extends List<Enum<?>>> arg) { return isSubtype(arg);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 20.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* <p><b>Note:</b> if elements are non-null and won't be added or removed after this point, use * {@link ImmutableSet#of()} or {@link ImmutableSet#copyOf(Object[])} instead. If {@code E} is an * {@link Enum} type, use {@link EnumSet#of(Enum, Enum[])} instead. Otherwise, strongly consider * using a {@code LinkedHashSet} instead, at the cost of increased memory footprint, to get * deterministic iteration behavior. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 77.4K bytes - Viewed (0) -
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 Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumBiMap.java
* * @author Mike Bostock * @since 2.0 */ @GwtCompatible(emulated = true) @J2ktIncompatible @ElementTypesAreNonnullByDefault public final class EnumBiMap<K extends Enum<K>, V extends Enum<V>> extends AbstractBiMap<K, V> { /* * J2CL's EnumMap does not need the Class instance, so we can use Object.class instead. (Or we
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Aug 24 01:40:03 GMT 2023 - 6.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java
this.validator = validator; } } private enum Result { SUCCESS(immediateFuture(new Object())), FAILURE(immediateFailedFuture(new Exception())); final Future<Object> future; Result(Future<Object> result) { this.future = result; } } private enum ExceptionType { CHECKED(IOException.class), UNCHECKED(RuntimeException.class);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Mar 22 03:01:34 GMT 2022 - 6.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
} // A static mapping from an Enum type to its set of LockGraphNodes. private static final ConcurrentMap< Class<? extends Enum<?>>, Map<? extends Enum<?>, LockGraphNode>> lockGraphNodesPerType = new MapMaker().weakKeys().makeMap(); /** Creates a {@code CycleDetectingLockFactory.WithExplicitOrdering<E>}. */ public static <E extends Enum<E>> WithExplicitOrdering<E> newInstanceWithExplicitOrdering(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 35.9K bytes - Viewed (0)