Class RewritingIteratorForSolMapsBase
java.lang.Object
se.liu.ida.hefquin.base.data.utils.RewritingIteratorForSolMapsBase
- All Implemented Interfaces:
- Iterator<SolutionMapping>
- Direct Known Subclasses:
- RewritingIteratorForSolMapsG2L,- RewritingIteratorForSolMapsL2G
public abstract class RewritingIteratorForSolMapsBase
extends Object
implements Iterator<SolutionMapping>
Abstract base class for classes that implement iterators that translate
 solution mappings from an input iterator by applying a vocabulary mapping.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Iterator<SolutionMapping>protected final Iterator<SolutionMapping>protected final VocabularyMapping
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedprotected
- 
Method SummaryModifier and TypeMethodDescriptionbooleanhasNext()next()protected abstract Iterable<SolutionMapping>Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.IteratorforEachRemaining, remove
- 
Field Details- 
input
- 
vm
- 
currentOutput
 
- 
- 
Constructor Details- 
RewritingIteratorForSolMapsBase
- 
RewritingIteratorForSolMapsBase
 
- 
- 
Method Details- 
hasNextpublic boolean hasNext()- Specified by:
- hasNextin interface- Iterator<SolutionMapping>
 
- 
next- Specified by:
- nextin interface- Iterator<SolutionMapping>
 
- 
translate
 
-