【DataStructure】The difference among methods addAll(),retainAll() and removeAll()
IntheJavacollectionframework,therearethreesimilarmethods,addAll(),retainAll()andremoveAll(). addAll(),theretainAll(),andtheremoveAll()methodsareequivalenttothesettheoreticunion, intersection,andcompl