Code example for HashSet

Methods: isEmptyretainAll