HashSet generic collection implemented