basic map and basic set's iterator implement.