public RepeatIterator(@NotNull T single){
  master=new ArrayList<T>(1);
  master.add(single);
  source=master.iterator();
}

public RepeatIterator ( @ NotNull T single ) { master = new ArrayList < T > ( 1 ) ; master . add ( single ) ; source = master . iterator ( ) ; }
create an iterator that repeats given value .
