com.mifmif.common.regex
Class GenerexIterator
java.lang.Object
com.mifmif.common.regex.GenerexIterator
- All Implemented Interfaces:
- Iterator
public class GenerexIterator
- extends Object
- implements Iterator
An implementation of Iterator class that iterate over the list of
Strings that matches a given Regex.
- Author:
- y.mifrah
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transitionsPath
Stack<TransitionLevel> transitionsPath
currentValue
String currentValue
GenerexIterator
public GenerexIterator(dk.brics.automaton.State initialState)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator
next
public String next()
- Specified by:
next in interface Iterator
jumpToNextPath
private void jumpToNextPath()
addNextTransitionLevel
private void addNextTransitionLevel(TransitionLevel currentLevel)
Copyright © 2014. All Rights Reserved.