public static void iterate(Collection collection,Command command) throws Exception {
  iterate(collection.iterator(),command);
}

public static void iterate ( Collection collection , Command command ) throws Exception { iterate ( collection . iterator ( ) , command ) ; }
iterate through a collection passing the command object each element in the collection .
