Code example for HashSet

Methods: isEmpty, retainAll