Mega Code Archive

 
Categories / Java Book / 005 Collection
 

0302 Retain elements collection c has

boolean retainAll(Collection<?> c) Retains only the elements in this Vector that are contained in the specified Collection.