Lines Matching defs:keyType
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() {
103 return keyType;
113 stream.writeObject(keyType);
122 keyType = (Class<K>) stream.readObject();
123 setDelegates(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)),
124 new HashMap<V, K>(keyType.getEnumConstants().length * 3 / 2));