net.fortytwo.flow.diff
Class NullDiffSink<T>

java.lang.Object
  extended by net.fortytwo.flow.diff.NullDiffSink<T>
All Implemented Interfaces:
DiffSink<T>

public class NullDiffSink<T>
extends Object
implements DiffSink<T>

A trivial diff sink which simply throws away all of its input

Author:
Joshua Shinavier (http://fortytwo.net)

Constructor Summary
NullDiffSink()
           
 
Method Summary
 Sink<T> getMinus()
           
 Sink<T> getPlus()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullDiffSink

public NullDiffSink()
Method Detail

getPlus

public Sink<T> getPlus()
Specified by:
getPlus in interface DiffSink<T>
Returns:
the sink for "added" data items

getMinus

public Sink<T> getMinus()
Specified by:
getMinus in interface DiffSink<T>
Returns:
the sink for "removed" data items


Copyright © 2007-2014. All Rights Reserved.