question: SingleTimedScheduler ( ThreadFactory threadFactory ) { ScheduledThreadPoolExecutor e = ( ScheduledThreadPoolExecutor ) Executors . newScheduledThreadPool ( 1 , threadFactory ) ; e . setRemoveOnCancelPolicy ( true ) ; executor = e ; }
target:  Constructs a new SingleTimedScheduler with the given thread factory.