Package org.qdl_lang.evaluate
Class AbstractEvaluator.CommonKeyIterator
- java.lang.Object
-
- org.qdl_lang.evaluate.AbstractEvaluator.CommonKeyIterator
-
- Enclosing class:
- AbstractEvaluator
public static class AbstractEvaluator.CommonKeyIterator extends Object implements Iterator<QDLKey>
An iterator for the keys that are common between stems. These are the keys of the final result of operations on stems. Contract is that this has a list of keys andadd(StemKeys)will add the set to the list. When this iterates, it iterates over this list and looks for a key.
-
-
Constructor Summary
Constructors Constructor Description CommonKeyIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(StemKeys keys)protected booleanallHaveValue(Object value)booleanhasNext()QDLKeynext()protected voidreset()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-