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

org.fiolino.common.processing.sink.NullSink Maven / Gradle / Ivy

Go to download

General structure to easily create dynamic logic via MethodHandles and others.

There is a newer version: 1.0.10
Show newest version
package org.fiolino.common.processing.sink;

import org.fiolino.common.container.Container;

/**
 * A sink that does nothing.
 * 

* Created by kuli on 06.04.16. */ public final class NullSink implements ThreadsafeSink { @Override public void accept(T value, Container metadata) { // Do nothing } @Override public void commit(Container metadata) { // Just ignore } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy