de.hpi.fgis.dude.algorithm
Class AbstractAlgorithm.AlgorithmIteratorWrapper

java.lang.Object
  extended by de.hpi.fgis.dude.algorithm.AbstractAlgorithm.AlgorithmIteratorWrapper
All Implemented Interfaces:
Iterator<DuDeObjectPair>
Enclosing class:
AbstractAlgorithm

protected static class AbstractAlgorithm.AlgorithmIteratorWrapper
extends Object
implements Iterator<DuDeObjectPair>

AlgorithmIteratorWrapper is used for setting some common properties of the generated DuDeObjectPairs.

Author:
Matthias Pohl

Constructor Summary
protected AbstractAlgorithm.AlgorithmIteratorWrapper(Iterator<DuDeObjectPair> it)
          Initializes a AbstractAlgorithm.AlgorithmIteratorWrapper with the passed Iterator.
 
Method Summary
 boolean hasNext()
           
 DuDeObjectPair next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAlgorithm.AlgorithmIteratorWrapper

protected AbstractAlgorithm.AlgorithmIteratorWrapper(Iterator<DuDeObjectPair> it)
Initializes a AbstractAlgorithm.AlgorithmIteratorWrapper with the passed Iterator.

Parameters:
it - The iterator of which the data shall be changed.
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<DuDeObjectPair>

next

public DuDeObjectPair next()
Specified by:
next in interface Iterator<DuDeObjectPair>

remove

public void remove()
Specified by:
remove in interface Iterator<DuDeObjectPair>


Copyright © 2011 Hasso Plattner Institute - Chair of Information Systems. All Rights Reserved.