Updated API name & removeAll , retainAll method logic