Class SourceIterator
java.lang.Object
com.aquima.interactions.rule.inference.SourceIterator
- All Implemented Interfaces:
Iterator<SourceIteratorItem>
This iterator returns the available sources in the correct order.
- First the sources for the selected node
- Then the sources for the parent node(s)
- Finally the default(s)
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsConstructorDescriptionSourceIterator
(IAttributeNode node) Constructs the source iterator for the specified attribute node. -
Method Summary
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
-
Constructor Details
-
SourceIterator
Constructs the source iterator for the specified attribute node.- Parameters:
node
- The node for which the sources are requested.
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<SourceIteratorItem>
-
next
- Specified by:
next
in interfaceIterator<SourceIteratorItem>
-
remove
public void remove()- Specified by:
remove
in interfaceIterator<SourceIteratorItem>
-