public void forEach(final ViewIteration viewIteration){
  FunctionUtils.checkParameterIsNotNull("viewIteration",viewIteration);
  final List<View> views=find();
  final int viewCount=views.size();
  for (int viewIndex=0; viewIndex < viewCount; viewIndex++) {
    viewIteration.onView(views.get(viewIndex),viewIndex,viewCount);
  }
}

public void forEach ( final ViewIteration viewIteration ) { FunctionUtils . checkParameterIsNotNull ( "viewIteration" , viewIteration ) ; final List < View > views = find ( ) ; final int viewCount = views . size ( ) ; for ( int viewIndex = 0 ; viewIndex < viewCount ; viewIndex ++ ) { viewIteration . onView ( views . get ( viewIndex ) , viewIndex , viewCount ) ; } }
iterates all found views .
