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

com.idefav.wrap.spi.WrapSupport Maven / Gradle / Ivy

package com.idefav.wrap.spi;

import java.util.concurrent.Callable;

/**
 * the WrapSupport description.
 *
 * @author wuzishu
 */
public interface WrapSupport {

    /**
     * Wrap runnable.
     *
     * @param runnable the runnable
     * @return the runnable
     */
    Runnable wrap(Runnable runnable);

    /**
     * Wrap callable.
     *
     * @param       the type parameter
     * @param callable the callable
     * @return the callable
     */
     Callable wrap(Callable callable);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy