Ejemplo n.º 1
0
 /**
  * Remove all keys in the array map that do <b>not</b> exist in the given collection.
  *
  * @param collection The collection whose contents are to be used to determine which keys to keep.
  * @return Returns true if any keys were removed from the array map, else false.
  */
 public boolean retainAll(Collection<?> collection) {
   return MapCollections.retainAllHelper(this, collection);
 }