HomeSort by relevance Sort by last modified time
    Searched defs:keyType (Results 1 - 25 of 227) sorted by null

1 2 3 4 5 6 7 8 910

  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
EnumBiMap.java 42 private transient Class<K> keyType;
49 * @param keyType the key type
53 create(Class<K> keyType, Class<V> valueType) {
54 return new EnumBiMap<K, V>(keyType, valueType);
74 private EnumBiMap(Class<K> keyType, Class<V> valueType) {
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();
    [all...]
EnumHashBiMap.java 44 private transient Class<K> keyType;
49 * @param keyType the key type
52 create(Class<K> keyType) {
53 return new EnumHashBiMap<K, V>(keyType);
73 private EnumHashBiMap(Class<K> keyType) {
75 new EnumMap<K, V>(keyType)),
77 keyType.getEnumConstants().length));
78 this.keyType = keyType;
97 public Class<K> keyType() {
    [all...]
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
Element.java 45 String keyType();
RealElement.java 33 private final String keyType;
35 RealElement(String setName, Element.Type type, String keyType) {
36 this(setName, type, keyType, nextUniqueId.incrementAndGet());
39 RealElement(String setName, Element.Type type, String keyType, int uniqueId) {
43 this.keyType = keyType;
58 @Override public String keyType() {
59 return keyType;
68 + ",uniqueId=" + uniqueId + ", type=" + type + ", keyType=" + keyType + ")"
    [all...]
MapBinder.java 140 * 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, TypeLiteral<V> valueType, Annotation annotation)
    [all...]
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
MapKeyProcessingStep.java 76 DeclaredType keyType =
78 if (keyType.asElement().getKind() == ElementKind.ANNOTATION_TYPE) {
81 MoreElements.asType(element), MoreTypes.asTypeElement(keyType)));
FactoryGenerator.java 104 TypeMirror keyType = binding.provisionType().equals(Type.MAP)
107 TypeName providedTypeName = TypeNames.forTypeMirror(keyType);
192 TypeNames.forTypeMirror(keyType));
241 MoreTypes.asDeclared(keyType).getTypeArguments().get(0));
ProducerFactoryGenerator.java 96 TypeMirror keyType = binding.productionType().equals(Type.MAP)
99 TypeName providedTypeName = TypeNames.forTypeMirror(keyType);
  /external/boringssl/src/ssl/test/runner/
key_agreement.go 22 type keyType int
25 keyTypeRSA keyType = iota + 1
326 keyType keyType
382 switch ka.keyType {
  /external/caliper/caliper/src/main/java/com/google/caliper/json/
ImmutableMultimapTypeAdapterFactory.java 48 TypeToken<K> keyType = (TypeToken<K>) TypeToken.of(rawType.getActualTypeArguments()[0]);
52 .where(new TypeParameter<K>() {}, keyType)
60 TypeToken<K> keyType = (TypeToken<K>) TypeToken.of(rawType.getActualTypeArguments()[0]);
64 .where(new TypeParameter<K>() {}, keyType)
  /external/conscrypt/openjdk/src/test/java/org/conscrypt/
SSLUtilsTest.java 75 String keyType = SSLUtils.getClientKeyType(b);
78 assertEquals(byteString, "RSA", keyType);
81 assertEquals(byteString, "EC", keyType);
84 assertNull(byteString, keyType);
  /external/guava/guava/src/com/google/common/collect/
EnumBiMap.java 46 private transient Class<K> keyType;
53 * @param keyType the key type
57 create(Class<K> keyType, Class<V> valueType) {
58 return new EnumBiMap<K, V>(keyType, valueType);
78 private EnumBiMap(Class<K> keyType, Class<V> valueType) {
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();
    [all...]
EnumHashBiMap.java 49 private transient Class<K> keyType;
54 * @param keyType the key type
57 create(Class<K> keyType) {
58 return new EnumHashBiMap<K, V>(keyType);
78 private EnumHashBiMap(Class<K> keyType) {
80 new EnumMap<K, V>(keyType)),
82 keyType.getEnumConstants().length));
83 this.keyType = keyType;
102 public Class<K> keyType() {
    [all...]
  /frameworks/base/telephony/java/android/telephony/
ImsiEncryptionInfo.java 44 private final int keyType;
48 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier,
50 this(mcc, mnc, keyType, keyIdentifier, makeKeyObject(key), expirationTime);
53 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier,
60 this.keyType = keyType;
74 keyType = in.readInt();
91 return this.keyType;
139 dest.writeInt(keyType);
150 + ", keyType=" + keyTyp
    [all...]
  /libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
X509KeyManagerImpl.java 18 private String keyType;
89 keyType = name;
94 if (keyType.equals(client)) {
103 } else if (keyType.equals(server)) {
  /external/conscrypt/common/src/main/java/org/conscrypt/
SSLUtils.java 224 String keyType = SSLUtils.getClientKeyType(keyTypeCode);
225 if (keyType == null) {
229 result.add(keyType);
  /external/protobuf/java/core/src/main/java/com/google/protobuf/
MapEntryLite.java 48 public final WireFormat.FieldType keyType;
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, key)
    [all...]
  /external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
RubyMessageBuilderContext.java 145 IRubyObject keyType = args[1];
153 if (keyType.equals(RubySymbol.newSymbol(runtime, "float")) ||
154 keyType.equals(RubySymbol.newSymbol(runtime, "double")) ||
155 keyType.equals(RubySymbol.newSymbol(runtime, "enum")) ||
156 keyType.equals(RubySymbol.newSymbol(runtime, "message")))
171 keyField.setType(context, keyType);
RubyMap.java 107 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;
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
Representer.java 211 Class<?> keyType = arguments[0];
215 resetTag(keyType, tuple.getKeyNode());
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
X509KeyManagerTest.java 29 private String keyType;
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
TextKeyListenerTest.java 221 int keyType = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD).getKeyboardType();
222 if (KeyCharacterMap.ALPHA == keyType
223 || KeyCharacterMap.FULL == keyType) {
225 } else if (KeyCharacterMap.NUMERIC == keyType) {
  /system/security/keystore/
IKeystoreService.cpp 326 KeyStoreServiceReturnCode generate(const String16& name, int32_t uid, int32_t keyType,
333 data.writeInt32(keyType);
520 int32_t is_hardware_backed(const String16& keyType) override {
523 data.writeString16(keyType);
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
ItsSerializer.java 300 private static MetadataEntry serializeEntry(Type keyType, Object keyObj, CameraMetadata md)
308 } else if (keyType == Float.class) {
315 } else if (keyType == Integer.class || keyType == Long.class || keyType == Byte.class ||
316 keyType == Boolean.class || keyType == String.class) {
318 } else if (keyType == Rational.class) {
320 } else if (keyType == Size.class) {
322 } else if (keyType == SizeF.class)
    [all...]
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/
Constructor.java 261 Class<? extends Object> keyType = memberDescription.getMapKeyType(key);
262 if (keyType != null) {
263 mnode.setTypes(keyType, memberDescription.getMapValueType(key));

Completed in 2333 milliseconds

1 2 3 4 5 6 7 8 910