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

de.thksystems.util.concurrent.Consumers Maven / Gradle / Ivy

Go to download

Commons for lang, crypto, xml, dom, text, csv, reflection, annotations, parsing, ...

There is a newer version: 4.3.3
Show newest version
/*
 * tksCommons
 *
 * Author  : Thomas Kuhlmann (ThK-Systems, https://www.thk-systems.de)
 * License : LGPL (https://www.gnu.org/licenses/lgpl.html)
 */

package de.thksystems.util.concurrent;

import java.util.function.BiConsumer;
import java.util.function.Consumer;

public final class Consumers {

    private Consumers() {
    }

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

    public static  BiConsumer noBiOp() {
        return (t,s)-> {};
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy