Class CaseVariationIterator
java.lang.Object
com.github.curiousoddman.rgxgen.iterators.CaseVariationIterator
- All Implemented Interfaces:
StringIterator,Iterator<String>
-
Constructor Details
-
CaseVariationIterator
-
-
Method Details
-
next
-
reset
public void reset()Description copied from interface:StringIteratorReset the iterator to the initial position. After reset it will start iterating from the first value.Can be used to restart iterator that returns
falsewhenhasNext()is called.- Specified by:
resetin interfaceStringIterator
-
current
Description copied from interface:StringIteratorReturn same value as last call tonext(). Behavior is not defined if method is called beforenext()- Specified by:
currentin interfaceStringIterator- Returns:
- Value returned by last call to
next().
-
hasNext
public boolean hasNext()
-