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

com.fireflysource.common.func.FunctionInterfaceUtils Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
package com.fireflysource.common.func;

import java.util.function.Consumer;

/**
 * @author Pengtao Qiu
 */
abstract public class FunctionInterfaceUtils {

    public static final Callback NOOP_CALLBACK = () -> {
    };


    public static  Consumer createEmptyConsumer() {
        return t -> {
        };
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy