public class FiniteStringsIterator extends Object
If the Automaton
has cycles then this iterator may throw an IllegalArgumentException
, but this is not guaranteed!
Be aware that the iteration order is implementation dependent and may change across releases.
If the automaton is not determinized then it's possible this iterator will return duplicates.
Constructor and Description |
---|
FiniteStringsIterator(Automaton a)
Constructor.
|
public FiniteStringsIterator(Automaton a)
a
- Automaton to create finite string from.public IntsRef next()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.