- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for keyType (0.03 sec)
-
android/guava/src/com/google/common/collect/EnumHashBiMap.java
/** * 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) { return new EnumHashBiMap<>(keyType); } /** * Constructs a new bimap with the same mappings as the specified map. If the specified map is an
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumBiMap.java
/** * Returns a new, empty {@code EnumBiMap} using the specified key and value types. * * @param keyType the key type * @param valueType the value type */ public static <K extends Enum<K>, V extends Enum<V>> EnumBiMap<K, V> create( Class<K> keyType, Class<V> valueType) { return new EnumBiMap<>(keyType, valueType); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
val keyType = when (certificate.publicKey) { is ECPublicKey -> "EC" is RSAPublicKey -> "RSA" else -> throw IllegalArgumentException("unexpected key type: ${certificate.publicKey}") } val privateKey = decodePkcs8(pkcs8Bytes, keyType) val keyPair = KeyPair(certificate.publicKey, privateKey)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 21.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
EnumHashBiMap.create(emptyBimap); assertEquals(bimap3, emptyBimap); } @GwtIncompatible // keyType public void testKeyType() { EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(Currency.class); assertEquals(Currency.class, bimap.keyType()); } public void testEntrySet() { // Bug 3168290 Map<Currency, String> map = ImmutableMap.of(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumBiMapTest.java
assertEquals(bimap3, emptyBimap); } @GwtIncompatible // keyType public void testKeyType() { EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class); assertEquals(Currency.class, bimap.keyType()); } @GwtIncompatible // valueType public void testValueType() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java
assertEquals(bimap3, emptyBimap); } @GwtIncompatible // keyType public void testKeyType() { EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class); assertEquals(Currency.class, bimap.keyType()); } @GwtIncompatible // valueType public void testValueType() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals("java.lang.String", new Entry<String, Integer>() {}.keyType().toString()); } private static <K, V> TypeToken<Map<K, V>> mapOf(Class<K> keyType, Class<V> valueType) { return new TypeToken<Map<K, V>>() {}.where(new TypeParameter<K>() {}, keyType) .where(new TypeParameter<V>() {}, valueType); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals("java.lang.String", new Entry<String, Integer>() {}.keyType().toString()); } private static <K, V> TypeToken<Map<K, V>> mapOf(Class<K> keyType, Class<V> valueType) { return new TypeToken<Map<K, V>>() {}.where(new TypeParameter<K>() {}, keyType) .where(new TypeParameter<V>() {}, valueType); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (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); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 49.9K bytes - Viewed (0)