public RepeatIterator(@NotNull List<T> master){
  this.master=master;
  this.source=master.iterator();
}

public RepeatIterator ( @ NotNull List < T > master ) { this . master = master ; this . source = master . iterator ( ) ; }
create an iterator that repeats the contents of given list .
