hashset as a parameter in java code example Example: hashset in java - HashSet can have null, order is not guaranteed