JMap<K, V> toJMap(JObjType<K> keyType, JObjType<V> valueType) { final map = JMap.hash(keyType, valueType); map.addAll(this); return map; }