cve
Interface RuleIterator

All Known Implementing Classes:
RuleCollection.Itr

public interface RuleIterator

An iterator over the elements of a rule collection. This follows the basic abstract Iterator interface, but doesn't throw an exception. (It assumes it will be used properly.)


Method Summary
 boolean hasNext()
          Returns true if the iterator has more elements.
 GenRule next()
          Returns the next element in the iteration.
 

Method Detail

hasNext

public boolean hasNext()
Returns true if the iterator has more elements.
Returns:
true if the iterator has more elements.

next

public GenRule next()
Returns the next element in the iteration.
Returns:
the next element in the iteration.