Returns as Yang the successfully constructed Map if there were no duplicate keys, as Yin the first duplicate key encounted if there were duplicate keys
Returns as Yang the successfully constructed set if there were no duplicates, as Yin the first duplicate value encountered if there were duplicates
Returns as Yang the successfully constructed SortedMap if there were no duplicate keys, as Yin the first duplicate key encounted if there were duplicate keys