Package org.projog.core.predicate.udp
Class StaticUserDefinedPredicateFactory.ActionIterator
- java.lang.Object
-
- org.projog.core.predicate.udp.StaticUserDefinedPredicateFactory.ActionIterator
-
- All Implemented Interfaces:
java.util.Iterator<ClauseAction>
- Enclosing class:
- StaticUserDefinedPredicateFactory
private static final class StaticUserDefinedPredicateFactory.ActionIterator extends java.lang.Object implements java.util.Iterator<ClauseAction>
-
-
Field Summary
Fields Modifier and Type Field Description private ClauseAction[]clausesprivate intpos
-
Constructor Summary
Constructors Constructor Description ActionIterator(ClauseAction[] clauses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()ClauseActionnext()
-
-
-
Field Detail
-
clauses
private final ClauseAction[] clauses
-
pos
private int pos
-
-
Constructor Detail
-
ActionIterator
ActionIterator(ClauseAction[] clauses)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<ClauseAction>
-
next
public ClauseAction next()
- Specified by:
nextin interfacejava.util.Iterator<ClauseAction>
-
-