create a hashset in scala code example Example: hashset scala val emptyHashSet: HashSet[String] = HashSet.empty[String] emptyHashSet += "item"