Avoid using implementation types (i.e., HashSet); use the interface (i.e, Set) instead