org.hava.engine
Interface HIterator.HIteratorInstance

Enclosing interface:
HIterator

public static interface HIterator.HIteratorInstance

Performs the calculations associated with a particular HIterator.


Method Summary
 void addCase(HValue i, HValue v)
          Submits an index-value pair to the iterator.
 HValue getValue()
          Returns the value generated by this iterator.
 boolean isComplete()
          Returns true if the value of this iterator is fully determined from the cases already submitted.
 

Method Detail

addCase

void addCase(HValue i,
             HValue v)
             throws HException
Submits an index-value pair to the iterator. If the directive is chained, the index can be null.

Throws:
HException

getValue

HValue getValue()
Returns the value generated by this iterator.


isComplete

boolean isComplete()
Returns true if the value of this iterator is fully determined from the cases already submitted. For example, the iterator first returns true after the first case has been submitted.