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

com.github.netty.core.util.Wrapper Maven / Gradle / Ivy

package com.github.netty.core.util;

/**
 * Wrapper
 *
 * @author wangzihao
 * 2018/7/31/031
 */
public interface Wrapper {

    /**
     * wrap
     *
     * @param source source object
     */
    void wrap(T source);

    /**
     * get source object
     *
     * @return source object
     */
    T unwrap();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy