- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for KeyType (0.16 sec)
-
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
}; } private <Q> Supplier<Q> getMapSupplier(Key<Q> key) { Key<?> keyType = key.getTypeParameter(0); Key<Object> valueType = key.getTypeParameter(1); if (keyType.getRawType() != String.class) { throw new DIException("Only String keys are supported for maps: " + key); } return () -> {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0) -
internal/kms/secret-key.go
if req.Name != s.keyID { return nil, ErrKeyNotFound } const randSize = 28 ciphertext, keyType := parseCiphertext(req.Ciphertext) ciphertext, random := ciphertext[:len(ciphertext)-randSize], ciphertext[len(ciphertext)-randSize:] iv, nonce := random[:16], random[16:] var aead cipher.AEAD switch keyType { case kms.AES256: mac := hmac.New(sha256.New, s.key) mac.Write(iv) sealingKey := mac.Sum(nil)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.8K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
doc/go1.17_spec.html
element type, indexed by a set of unique <i>keys</i> of another type, called the key type. The value of an uninitialized map is <code>nil</code>. </p> <pre class="ebnf"> MapType = "map" "[" KeyType "]" ElementType . KeyType = Type . </pre> <p> The <a href="#Comparison_operators">comparison operators</a> <code>==</code> and <code>!=</code> must be fully defined
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 10 18:25:45 UTC 2024 - 211.6K bytes - Viewed (0) -
doc/go_spec.html
element type, indexed by a set of unique <i>keys</i> of another type, called the key type. The value of an uninitialized map is <code>nil</code>. </p> <pre class="ebnf"> MapType = "map" "[" KeyType "]" ElementType . KeyType = Type . </pre> <p> The <a href="#Comparison_operators">comparison operators</a> <code>==</code> and <code>!=</code> must be fully defined
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 00:58:01 UTC 2024 - 282.5K bytes - Viewed (0)