cmu.survey.editor.manipulators
Class VariableNameChecker.VariableIterator
java.lang.Object
cmu.survey.editor.manipulators.VariableNameChecker.PageIterator
cmu.survey.editor.manipulators.VariableNameChecker.QuestionIterator
cmu.survey.editor.manipulators.VariableNameChecker.VariableIterator
- All Implemented Interfaces:
- java.util.Iterator
- Enclosing class:
- VariableNameChecker
public static class VariableNameChecker.VariableIterator
- extends VariableNameChecker.QuestionIterator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariableNameChecker.VariableIterator
public VariableNameChecker.VariableIterator(QuestionDataBitSet question)
VariableNameChecker.VariableIterator
public VariableNameChecker.VariableIterator(Page page)
VariableNameChecker.VariableIterator
public VariableNameChecker.VariableIterator(Survey survey)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
- Overrides:
hasNext
in class VariableNameChecker.QuestionIterator
getLastVariable
public VariableDataBitSet getLastVariable()
- Last works before calling hasNext() or after calling next(). It will NOT work between calling hasNext() and next() -- after you call hasNext(), getLast... will return the new one!
- Returns:
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
- Overrides:
next
in class VariableNameChecker.QuestionIterator
getLastVariableType
public StringDataBit getLastVariableType()
nextVariable
public VariableDataBitSet nextVariable()
nextQuestion
public QuestionDataBitSet nextQuestion()
- Description copied from class:
VariableNameChecker.QuestionIterator
- Use this ONLY when it is a QuestionIterator, not when it is a VariableIterator! We trust you not to use it when it's a VariableIterator.
- Overrides:
nextQuestion
in class VariableNameChecker.QuestionIterator
- Returns: