- All Known Subinterfaces:
- All Known Implementing Classes:
public interface SequenceIteratorAn iterator over a bag of sequences.
java.util.Iterator was not appropriate here, as we need specific exceptions to be thrown, and as much type-safety as possible. However, we have made it as compliant with Iterator as we could so that there is a minimal learning curve.
- Matthew Pocock
- See Also:
boolean hasNext()Returns whether there are more sequences to iterate over.
- true if there are more sequences to get and false otherwise
nextSequenceReturns the next sequence in the iterator.