Originally posted by Amit Arora: For fetching all the values from hash table in a set use: Set set = ht.values()