- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for enum_ (0.05 seconds)
-
android/guava/src/com/google/common/collect/Sets.java
* with an implementation specialized for enums. Unlike {@link ImmutableSet#toImmutableSet}, the * resulting set will iterate over elements in their enum definition order, not encounter order. * * @since 33.2.0 (available since 21.0 in guava-jre) */ @IgnoreJRERequirement // Users will use this only if they're already using streams. public static <E extends Enum<E>> Collector<E, ?, ImmutableSet<E>> toImmutableEnumSet() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 81.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Sets.java
* with an implementation specialized for enums. Unlike {@link ImmutableSet#toImmutableSet}, the * resulting set will iterate over elements in their enum definition order, not encounter order. * * @since 21.0 */ public static <E extends Enum<E>> Collector<E, ?, ImmutableSet<E>> toImmutableEnumSet() { return CollectCollectors.toImmutableEnumSet(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
* example both {@code Enum<?>} and {@code Enum<? extends Enum<?>>} canonicalize to {@code * Enum<? extends Enum<E>}. * <li>{@code canonicalize(t)} produces a "literal" supertype of t. For example: {@code Enum<? * extends Enum<?>>} canonicalizes to {@code Enum<?>}, which is a supertype (if we disregard * the upper bound is implicitly an Enum too).Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 53.8K bytes - Click Count (0) -
tests/test_application.py
assert response.headers["content-type"] == "text/html; charset=utf-8" assert "redoc@2" in response.text def test_enum_status_code_response(): response = client.get("/enum-status-code") assert response.status_code == 201, response.text assert response.json() == "foo bar" def test_openapi_schema(): response = client.get("/openapi.json")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 56.9K bytes - Click Count (0) -
okhttp/api/jvm/okhttp.api
public static final field QUIC Lokhttp3/Protocol; public static final field SPDY_3 Lokhttp3/Protocol; public static final fun get (Ljava/lang/String;)Lokhttp3/Protocol; public static fun getEntries ()Lkotlin/enums/EnumEntries; public fun toString ()Ljava/lang/String; public static fun valueOf (Ljava/lang/String;)Lokhttp3/Protocol; public static fun values ()[Lokhttp3/Protocol; }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
* @param <V> the value type of {@link EnumMap} * @param keyType the class object of the key type for this {@literal enum} map * @return a new instance of {@link EnumMap} * @see EnumMap#EnumMap(Class) */ public static <K extends Enum<K>, V> EnumMap<K, V> newEnumMap(final Class<K> keyType) { return new EnumMap<>(keyType); } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 49.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals(TypeToken.of(Object.class), new TypeToken<T[]>() {}.getGenericSuperclass()); } public <T extends Enum<T> & Serializable> void testGetGenericSuperclass_typeVariable_boundIsFBoundedClass() { assertEquals( new TypeToken<Enum<T>>() {}, TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericSuperclass());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
okhttp/api/android/okhttp.api
public static final field QUIC Lokhttp3/Protocol; public static final field SPDY_3 Lokhttp3/Protocol; public static final fun get (Ljava/lang/String;)Lokhttp3/Protocol; public static fun getEntries ()Lkotlin/enums/EnumEntries; public fun toString ()Ljava/lang/String; public static fun valueOf (Ljava/lang/String;)Lokhttp3/Protocol; public static fun values ()[Lokhttp3/Protocol; }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals(TypeToken.of(Object.class), new TypeToken<T[]>() {}.getGenericSuperclass()); } public <T extends Enum<T> & Serializable> void testGetGenericSuperclass_typeVariable_boundIsFBoundedClass() { assertEquals( new TypeToken<Enum<T>>() {}, TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericSuperclass());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
docs/changelogs/changelog_3x.md
* **Cipher suites may now have arbitrary names.** Previously `CipherSuite` was a Java enum and it was impossible to define new cipher suites without first upgrading OkHttp. With this change it is now a regular Java class with enum-like constants. Application code that uses enum methods on cipher suites (`ordinal()`, `name()`, etc.) will break with this change.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0)