public String next(){
  String uri=uriList.get(index++);
  if (index >= uriList.size()) {
    index=0;
    iterations++;
  }
  return uri;
}

public String next ( ) { String uri = uriList . get ( index ++ ) ; if ( index >= uriList . size ( ) ) { index = 0 ; iterations ++ ; } return uri ; }
returns the next thl uri in the list .
