All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.threads.DelegatingRunnable Maven / Gradle / Ivy

package org.jboss.threads;

class DelegatingRunnable implements Runnable {
    private final Runnable delegate;

    DelegatingRunnable(final Runnable delegate) {
        this.delegate = delegate;
    }

    public void run() {
        delegate.run();
    }

    public String toString() {
        return String.format("%s -> %s", super.toString(), delegate);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy