- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 314 for enums (0.12 sec)
-
src/main/java/org/codelibs/core/lang/ConstructorUtil.java
* @throws IllegalAccessRuntimeException if the number of actual and formal parameters differ, if primitive arguments cannot be converted, or if the class is related to enums * @see Constructor#newInstance(Object[]) */ public static <T> T newInstance(final Constructor<T> constructor, final Object... args) throws InstantiationRuntimeException, IllegalAccessRuntimeException {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.1K 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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.1K 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;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
* * @since 16.0 */ public static <K0 extends Enum<K0>> MultimapBuilderWithKeys<K0> enumKeys(Class<K0> keyClass) { checkNotNull(keyClass); return new MultimapBuilderWithKeys<K0>() { @SuppressWarnings("unchecked") @Override <K extends K0, V extends @Nullable Object> Map<K, Collection<V>> createMap() { // K must actually be K0, since enums are effectively final
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 18K bytes - Viewed (0) -
guava/src/com/google/common/collect/MultimapBuilder.java
* * @since 16.0 */ public static <K0 extends Enum<K0>> MultimapBuilderWithKeys<K0> enumKeys(Class<K0> keyClass) { checkNotNull(keyClass); return new MultimapBuilderWithKeys<K0>() { @SuppressWarnings("unchecked") @Override <K extends K0, V extends @Nullable Object> Map<K, Collection<V>> createMap() { // K must actually be K0, since enums are effectively final
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 18K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java
boolean getIfPresent(int repetitions) { boolean retVal = false; for (int i = 0; i < repetitions; ++i) { retVal &= Enums.getIfPresent(enumType, sampleData[i & 255]).isPresent(); } return retVal; } private enum SmallEnum { X0, X1, X2 } private enum MediumEnum { X0, X1, X2, X3, X4, X5, X6, X7, X8, X9,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 29.4K 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;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 22 12:28:51 UTC 2023 - 10.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
import org.jspecify.annotations.Nullable; /** * Supplies an arbitrary "default" instance for a wide range of types, often useful in testing * utilities. * * <p>Covers arrays, enums and common types defined in {@code java.lang}, {@code java.lang.reflect}, * {@code java.io}, {@code java.nio}, {@code java.math}, {@code java.util}, {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 21.4K bytes - Viewed (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; }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
import org.jspecify.annotations.Nullable; /** * Supplies an arbitrary "default" instance for a wide range of types, often useful in testing * utilities. * * <p>Covers arrays, enums and common types defined in {@code java.lang}, {@code java.lang.reflect}, * {@code java.io}, {@code java.nio}, {@code java.math}, {@code java.util}, {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 20.9K bytes - Viewed (0)