Searched defs:keyType (Results 1 - 25 of 52) sorted by relevance

123

/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DEnumBiMap.java42 private transient Class<K> keyType; field in class:EnumBiMap
49 * @param keyType the key type
53 create(Class<K> keyType, Class<V> valueType) { argument
54 return new EnumBiMap<K, V>(keyType, valueType);
74 private EnumBiMap(Class<K> keyType, Class<V> valueType) { argument
75 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)),
77 this.keyType = keyType;
83 return ((EnumBiMap<K, ?>) map).keyType();
86 return ((EnumHashBiMap<K, ?>) map).keyType();
101 public Class<K> keyType() { method in class:EnumBiMap
[all...]
H A DEnumHashBiMap.java44 private transient Class<K> keyType; field in class:EnumHashBiMap
49 * @param keyType the key type
52 create(Class<K> keyType) { argument
53 return new EnumHashBiMap<K, V>(keyType);
73 private EnumHashBiMap(Class<K> keyType) { argument
75 new EnumMap<K, V>(keyType)),
77 keyType.getEnumConstants().length));
78 this.keyType = keyType;
97 public Class<K> keyType() { method in class:EnumHashBiMap
[all...]
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
H A DElement.java45 String keyType(); method in interface:Element
H A DRealElement.java33 private final String keyType; field in class:RealElement
35 RealElement(String setName, Element.Type type, String keyType) { argument
36 this(setName, type, keyType, nextUniqueId.incrementAndGet());
39 RealElement(String setName, Element.Type type, String keyType, int uniqueId) { argument
43 this.keyType = keyType;
58 @Override public String keyType() { method in class:RealElement
59 return keyType;
68 + ",uniqueId=" + uniqueId + ", type=" + type + ", keyType=" + keyType
[all...]
H A DMapBinder.java140 * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a
144 TypeLiteral<K> keyType, TypeLiteral<V> valueType) {
146 return newRealMapBinder(binder, keyType, valueType, Key.get(mapOf(keyType, valueType)),
147 Multibinder.newSetBinder(binder, entryOfProviderOf(keyType, valueType)));
151 * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a
155 Class<K> keyType, Class<V> valueType) {
156 return newMapBinder(binder, TypeLiteral.get(keyType), TypeLiteral.get(valueType));
160 * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a
164 TypeLiteral<K> keyType, TypeLitera
143 newMapBinder(Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType) argument
154 newMapBinder(Binder binder, Class<K> keyType, Class<V> valueType) argument
163 newMapBinder(Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Annotation annotation) argument
175 newMapBinder(Binder binder, Class<K> keyType, Class<V> valueType, Annotation annotation) argument
184 newMapBinder(Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Class<? extends Annotation> annotationType) argument
196 newMapBinder(Binder binder, Class<K> keyType, Class<V> valueType, Class<? extends Annotation> annotationType) argument
203 mapOf( TypeLiteral<K> keyType, TypeLiteral<V> valueType) argument
210 mapOfProviderOf( TypeLiteral<K> keyType, TypeLiteral<V> valueType) argument
218 mapOfJavaxProviderOf( TypeLiteral<K> keyType, TypeLiteral<V> valueType) argument
226 mapOfSetOfProviderOf( TypeLiteral<K> keyType, TypeLiteral<V> valueType) argument
233 entryOfProviderOf( TypeLiteral<K> keyType, TypeLiteral<V> valueType) argument
241 newRealMapBinder(Binder binder, TypeLiteral<K> keyType, Key<V> valueTypeAndAnnotation) argument
251 newRealMapBinder(Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Key<Map<K, V>> mapKey, Multibinder<Entry<K, Provider<V>>> entrySetBinder) argument
315 private final TypeLiteral<K> keyType; field in class:MapBinder.RealMapBinder
331 RealMapBinder(Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Key<Map<K, V>> mapKey, Multibinder<Map.Entry<K, Provider<V>>> entrySetBinder) argument
[all...]
/external/conscrypt/testing/src/main/java/libcore/javax/net/ssl/
H A DForwardingX509ExtendedKeyManager.java33 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { argument
34 return delegate.chooseClientAlias(keyType, issuers, socket);
37 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { argument
38 return delegate.chooseServerAlias(keyType, issuers, socket);
45 public String[] getClientAliases(String keyType, Principal[] issuers) { argument
46 return delegate.getClientAliases(keyType, issuers);
49 public String[] getServerAliases(String keyType, Principal[] issuers) { argument
50 return delegate.getServerAliases(keyType, issuers);
53 public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) { argument
54 return delegate.chooseEngineClientAlias(keyType, issuer
57 chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine) argument
[all...]
H A DTestKeyManager.java65 for (String keyType : keyTypes) {
66 out.print(keyType);
76 for (String keyType : keyTypes) {
77 assertKeyType(keyType);
81 private void assertKeyType(String keyType) { argument
82 if (!StandardNames.KEY_TYPES.contains(keyType)) {
83 throw new AssertionError("Unexpected key type " + keyType);
88 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { argument
90 out.print(" | keyType: ");
91 out.print(keyType);
141 getClientAliases(String keyType, Principal[] issuers) argument
151 getServerAliases(String keyType, Principal[] issuers) argument
196 chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine e) argument
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DEnumBiMap.java46 private transient Class<K> keyType; field in class:EnumBiMap
53 * @param keyType the key type
57 create(Class<K> keyType, Class<V> valueType) { argument
58 return new EnumBiMap<K, V>(keyType, valueType);
78 private EnumBiMap(Class<K> keyType, Class<V> valueType) { argument
79 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)),
81 this.keyType = keyType;
87 return ((EnumBiMap<K, ?>) map).keyType();
90 return ((EnumHashBiMap<K, ?>) map).keyType();
105 public Class<K> keyType() { method in class:EnumBiMap
[all...]
H A DEnumHashBiMap.java49 private transient Class<K> keyType; field in class:EnumHashBiMap
54 * @param keyType the key type
57 create(Class<K> keyType) { argument
58 return new EnumHashBiMap<K, V>(keyType);
78 private EnumHashBiMap(Class<K> keyType) { argument
80 new EnumMap<K, V>(keyType)),
82 keyType.getEnumConstants().length));
83 this.keyType = keyType;
102 public Class<K> keyType() { method in class:EnumHashBiMap
[all...]
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DKeyManagerImpl.java93 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { argument
94 final String[] al = chooseAlias(new String[] { keyType }, issuers);
118 public String[] getClientAliases(String keyType, Principal[] issuers) { argument
119 return chooseAlias(new String[] { keyType }, issuers);
123 public String[] getServerAliases(String keyType, Principal[] issuers) { argument
124 return chooseAlias(new String[] { keyType }, issuers);
145 public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine) { argument
146 final String[] al = chooseAlias(new String[] { keyType }, issuers);
H A DSSLParametersImpl.java432 String chooseServerAlias(X509KeyManager keyManager, String keyType); argument
H A DConscryptFileDescriptorSocket.java1068 public String chooseServerAlias(X509KeyManager keyManager, String keyType) { argument
1069 return keyManager.chooseServerAlias(keyType, null, this);
H A DConscryptEngine.java1630 public String chooseServerAlias(X509KeyManager keyManager, String keyType) { argument
1633 return ekm.chooseEngineServerAlias(keyType, null, this);
1635 return keyManager.chooseServerAlias(keyType, null, null);
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
H A DKeyManagerFactoryTest.java172 for (String keyType : keyTypes) {
173 String[] aliases = km.getClientAliases(keyType, null);
174 if (empty || keyType == null || keyType.isEmpty()) {
175 assertNull(keyType, aliases);
178 assertNotNull(keyType, aliases);
180 test_X509KeyManager_alias(km, alias, keyType, false, empty);
183 for (String keyType : keyTypes) {
184 String[] aliases = km.getServerAliases(keyType, null);
185 if (empty || keyType
228 test_X509KeyManager_alias(X509KeyManager km, String alias, String keyType, boolean many, boolean empty) argument
[all...]
/external/guice/core/src/com/google/inject/util/
H A DTypes.java115 * {@code keyType} and whose values are of type {@code valueType}.
119 public static ParameterizedType mapOf(Type keyType, Type valueType) { argument
120 return newParameterizedType(Map.class, keyType, valueType);
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/nodes/
H A DMappingNode.java64 public void setOnlyKeyType(Class<? extends Object> keyType) { argument
66 nodes.getKeyNode().setType(keyType);
70 public void setTypes(Class<? extends Object> keyType, Class<? extends Object> valueType) { argument
73 nodes.getKeyNode().setType(keyType);
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
H A DKey.java198 TypeMirror keyType = returnType;
200 keyType = Iterables.getOnlyElement(MoreTypes.asDeclared(returnType).getTypeArguments());
202 return forMethod(componentMethod, keyType);
221 TypeMirror keyType =
227 return forMethod(method, keyType);
243 TypeMirror keyType =
249 return forMethod(method, keyType);
292 private Key forMethod(ExecutableElement method, TypeMirror keyType) { argument
295 MoreTypes.equivalence().wrap(keyType));
349 TypeMirror keyType
[all...]
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
H A DMapBinderTest.java109 private Type mapEntryOf(Type keyType, Type valueType) { argument
110 return Types.newParameterizedTypeWithOwner(Map.class, Map.Entry.class, keyType, valueType);
H A DSpiUtils.java102 * @param keyType the TypeLiteral of the key of the map
110 static <T> void assertMapVisitor(Key<T> mapKey, TypeLiteral<?> keyType, TypeLiteral<?> valueType, argument
118 mapInjectorTest(mapKey, keyType, valueType, modules, allowDuplicates, expectedMapBindings,
123 mapModuleTest(mapKey, keyType, valueType, modules, allowDuplicates, expectedMapBindings,
129 private static <T> void mapInjectorTest(Key<T> mapKey, TypeLiteral<?> keyType, argument
137 assertEquals(keyType, mapbinder.getKeyTypeLiteral());
168 Key<?> mapOfJavaxProvider = mapKey.ofType(mapOfJavaxProviderOf(keyType, valueType));
169 Key<?> mapOfProvider = mapKey.ofType(mapOfProviderOf(keyType, valueType));
170 Key<?> mapOfSetOfProvider = mapKey.ofType(mapOfSetOfProviderOf(keyType, valueType));
171 Key<?> mapOfSet = mapKey.ofType(mapOf(keyType, setO
259 mapModuleTest(Key<T> mapKey, TypeLiteral<?> keyType, TypeLiteral<?> valueType, Iterable<? extends Module> modules, boolean allowDuplicates, int expectedMapBindings, MapResult... results) argument
622 assertOptionalVisitor(Key<T> keyType, Iterable<? extends Module> modules, VisitType visitType, int expectedOtherOptionalBindings, BindResult<?> expectedDefault, BindResult<?> expectedActual, BindResult<?> expectedUserLinkedActual) argument
650 optionalInjectorTest(Key<T> keyType, Iterable<? extends Module> modules, int expectedOtherOptionalBindings, BindResult<?> expectedDefault, BindResult<?> expectedActual, BindResult<?> expectedUserLinkedActual) argument
811 optionalModuleTest(Key<T> keyType, Iterable<? extends Module> modules, int expectedOtherOptionalBindings, BindResult<?> expectedDefault, BindResult<?> expectedActual, BindResult<?> expectedUserLinkedActual) argument
[all...]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DMapEntry.java83 WireFormat.FieldType keyType, K defaultKey,
86 keyType, defaultKey, valueType, defaultValue);
104 WireFormat.FieldType keyType, K defaultKey,
107 descriptor, keyType, defaultKey, valueType, defaultValue);
82 MapEntry(Descriptor descriptor, WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) argument
102 newDefaultInstance( Descriptor descriptor, WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) argument
H A DMapEntryLite.java48 public final WireFormat.FieldType keyType; field in class:MapEntryLite.Metadata
53 WireFormat.FieldType keyType,
56 this.keyType = keyType;
79 WireFormat.FieldType keyType, K defaultKey,
81 this.metadata = new Metadata<K, V>(this, keyType, valueType);
110 WireFormat.FieldType keyType, K defaultKey,
113 keyType, defaultKey, valueType, defaultValue);
118 writeField(KEY_FIELD_NUMBER, metadata.keyType, key, output);
136 size += getFieldSize(KEY_FIELD_NUMBER, metadata.keyType, ke
51 Metadata( MapEntryLite<K, V> defaultInstance, WireFormat.FieldType keyType, WireFormat.FieldType valueType) argument
78 MapEntryLite( WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) argument
109 newDefaultInstance( WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) argument
[all...]
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
H A DInternalNano.java381 * @param keyType key type, as defined in InternalNano.TYPE_*
395 int keyType,
410 key = (K) input.readPrimitiveField(keyType);
428 key = (K) primitiveDefaultValue(keyType);
442 Map<K, V> map, int number, int keyType, int valueType)
452 CodedOutputByteBufferNano.computeFieldSize(1, keyType, key) +
456 output.writeField(1, keyType, key);
462 Map<K, V> map, int number, int keyType, int valueType) {
473 CodedOutputByteBufferNano.computeFieldSize(1, keyType, key) +
391 mergeMapEntry( CodedInputByteBufferNano input, Map<K, V> map, MapFactory mapFactory, int keyType, int valueType, V value, int keyTag, int valueTag) argument
440 serializeMapField( CodedOutputByteBufferNano output, Map<K, V> map, int number, int keyType, int valueType) argument
461 computeMapFieldSize( Map<K, V> map, int number, int keyType, int valueType) argument
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
H A DRubyMap.java107 this.keyType = Utils.rubyToFieldType(args[0]);
110 switch(keyType) {
151 Utils.checkType(context, keyType, key, (RubyModule) valueTypeClass);
398 return this.keyType == other.keyType &&
407 Utils.fieldTypeToRuby(context, keyType),
412 Utils.fieldTypeToRuby(context, keyType),
430 private Descriptors.FieldDescriptor.Type keyType; field in class:RubyMap
/external/icu/icu4c/source/i18n/
H A Dplurrule.cpp1303 PluralRuleParser::getKeyType(const UnicodeString &token, tokenType keyType) argument
1305 if (keyType != tKeyword) {
1306 return keyType;
1310 keyType = tVariableN;
1312 keyType = tVariableI;
1314 keyType = tVariableF;
1316 keyType = tVariableT;
1318 keyType = tVariableV;
1320 keyType = tIs;
1322 keyType
[all...]
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
H A DPeerConnection.java154 public KeyType keyType; field in class:PeerConnection.RTCConfiguration
167 keyType = KeyType.ECDSA;

Completed in 678 milliseconds

123