private static int[] createDelays(final int delay,final int count){
  final int[] delays=new int[count];
  Arrays.fill(delays,delay);
  return delays;
}

private static int [ ] createDelays ( final int delay , final int count ) { final int [ ] delays = new int [ count ] ; Arrays . fill ( delays , delay ) ; return delays ; }
utility method to convert a single delay to an array of delays having that value .
