createMapField<K, V> method

Map<K, V> createMapField<K, V>(
  1. int tagNumber,
  2. MapFieldInfo<K, V> fi
)

Creates a Map representing a map field.

Implementation

Map<K, V> createMapField<K, V>(int tagNumber, MapFieldInfo<K, V> fi) =>
    PbMap<K, V>(fi.keyFieldType, fi.valueFieldType);