com.wcohen.ss
Class CombinedStringDistanceLearner.JthDistanceInstanceIterator

java.lang.Object
  extended by com.wcohen.ss.CombinedStringDistanceLearner.JthDistanceInstanceIterator
All Implemented Interfaces:
DistanceInstanceIterator, java.util.Iterator<DistanceInstance>
Enclosing class:
CombinedStringDistanceLearner

protected class CombinedStringDistanceLearner.JthDistanceInstanceIterator
extends java.lang.Object
implements DistanceInstanceIterator

Iterate over the j-th field of MultiStringWrapper's in a DistanceInstance of MultiStringWrapper's


Constructor Summary
CombinedStringDistanceLearner.JthDistanceInstanceIterator(int j, java.util.Iterator<DistanceInstance> i)
           
 
Method Summary
 boolean hasNext()
           
 DistanceInstance next()
           
 DistanceInstance nextDistanceInstance()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombinedStringDistanceLearner.JthDistanceInstanceIterator

public CombinedStringDistanceLearner.JthDistanceInstanceIterator(int j,
                                                                 java.util.Iterator<DistanceInstance> i)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface DistanceInstanceIterator
Specified by:
hasNext in interface java.util.Iterator<DistanceInstance>

nextDistanceInstance

public DistanceInstance nextDistanceInstance()
Specified by:
nextDistanceInstance in interface DistanceInstanceIterator

next

public DistanceInstance next()
Specified by:
next in interface DistanceInstanceIterator
Specified by:
next in interface java.util.Iterator<DistanceInstance>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<DistanceInstance>