public static <T>void doForAll(Collection<T> c_,ObjectVisitor<T> v_){
  for (Iterator<T> iter=c_.iterator(); iter.hasNext(); )   v_.visit(iter.next());
}

public static < T > void doForAll ( Collection < T > c_ , ObjectVisitor < T > v_ ) { for ( Iterator < T > iter = c_ . iterator ( ) ; iter . hasNext ( ) ; ) v_ . visit ( iter . next ( ) ) ; }
perform an action for all elements in a collection .
