DS-Lab / src / test / java / dslab / CheckedConsumer.java
CheckedConsumer.java
Raw
package dslab;

/**
 * CheckedConsumer.
 */
@FunctionalInterface
public interface CheckedConsumer<T, E extends Exception> {
    void accept(T socket) throws E;
}