How To Get Distinct Values From Array To Hashmap