public static <T> Stream<T> interval(final long delay, final long interval, final TimeUnit unit, final LongFunction<T> s) {
        N.checkArgNotNull(s);

        return LongStream.interval(delay, interval, unit).mapToObj(s);
    }
public static < T > Stream < T > interval ( final long delay , final long interval , final TimeUnit unit , final LongFunction < T > s ) { N . checkArgNotNull ( s ) ; return LongStream . interval ( delay , interval , unit ) . mapToObj ( s ) ; }
@param delay
@param interval
@param unit
@param s
@return