I have a hash map holding "mapping functions" which coverts specific instances of type X1 to specific instances of type X2. X1
X1
X2