org.galagosearch.tupleflow
Class Unique<T>

java.lang.Object
  extended by org.galagosearch.tupleflow.Unique<T>
All Implemented Interfaces:
Processor<T>, Step

public class Unique<T>
extends java.lang.Object
implements Processor<T>

Author:
trevor

Constructor Summary
Unique(java.util.Comparator<T> sameObject, Processor<T> processor)
          Creates a new instance of Unique
 
Method Summary
 void close()
           
 void process(T object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Unique

public Unique(java.util.Comparator<T> sameObject,
              Processor<T> processor)
Creates a new instance of Unique

Method Detail

process

public void process(T object)
             throws java.io.IOException
Specified by:
process in interface Processor<T>
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface Processor<T>
Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.