sofya.mutator.selectors
Interface IntSequenceIterator


public interface IntSequenceIterator

An iterator over a sequence of integers.

Version:
10/01/2005
Author:
Alex Kinneer

Method Summary
 boolean hasNext()
          Reports whether the iteration has more elements.
 int nextInt()
          Gets the next value from the iteration.
 void remove()
          Removes from the underlying sequence the last element returned by the iterator (optional operation).
 

Method Detail

hasNext

boolean hasNext()
Reports whether the iteration has more elements.

Returns:
true if the iteration has more elements.

nextInt

int nextInt()
Gets the next value from the iteration.

Returns:
The next integer from the iteration.

remove

void remove()
Removes from the underlying sequence the last element returned by the iterator (optional operation).