net.fortytwo.flow
Class NullSink<T>
java.lang.Object
net.fortytwo.flow.NullSink<T>
- Type Parameters:
T -
- All Implemented Interfaces:
- Sink<T>
public class NullSink<T>
- extends Object
- implements Sink<T>
A sink which simply throws away all data passed into it.
- Author:
- Joshua Shinavier (http://fortytwo.net)
|
Method Summary |
void |
put(T t)
Passes a data item into the Sink |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullSink
public NullSink()
put
public void put(T t)
throws RippleException
- Description copied from interface:
Sink
- Passes a data item into the
Sink
- Specified by:
put in interface Sink<T>
- Parameters:
t - the data item being passed
- Throws:
RippleException - if a data handling error occors
Copyright © 2007-2014. All Rights Reserved.