net.fortytwo.flow.NullSink Maven / Gradle / Ivy
package net.fortytwo.flow;
import net.fortytwo.ripple.RippleException;
/**
* A sink which simply throws away all data passed into it.
* @param
*
* @author Joshua Shinavier (http://fortytwo.net)
*/
public class NullSink implements Sink
{
public void put( final T t ) throws RippleException
{
// Do nothing.
}
}