class NamedThreadFactory implements ThreadFactory {

    private final String prefix;
    private final LongAdder threadNumber = new LongAdder();

    public NamedThreadFactory(String prefix) {
        this.prefix = prefix;
    }

    @Override
    public Thread newThread(Runnable runnable) {<FILL_FUNCTION_BODY>}
}

        threadNumber.add(1);
        return new Thread(runnable, prefix + "thread-" + threadNumber.intValue());
    
<no_super_class>