public static < C extends Compound > Iterator < C > createIterator ( Sequence < C > sequence ) { return new SequenceIterator < C > ( sequence ) ; }
Creates a simple sequence iterator which moves through a sequence going from 1 to the length of the Sequence . Modification of the Sequence is not allowed .