Class RecordedDatabase.ChainIterator
- java.lang.Object
-
- org.projog.core.predicate.builtin.db.RecordedDatabase.ChainIterator
-
- All Implemented Interfaces:
java.util.Iterator<Record>
- Enclosing class:
- RecordedDatabase
private static class RecordedDatabase.ChainIterator extends java.lang.Object implements java.util.Iterator<Record>
-
-
Field Summary
Fields Modifier and Type Field Description private RecordedDatabase.Linkcurrent
-
Constructor Summary
Constructors Constructor Description ChainIterator(RecordedDatabase.Chain chain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private RecordcreateRecord(RecordedDatabase.Link link)booleanhasNext()Recordnext()private voidskipDeleted()
-
-
-
Field Detail
-
current
private RecordedDatabase.Link current
-
-
Constructor Detail
-
ChainIterator
ChainIterator(RecordedDatabase.Chain chain)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<Record>
-
createRecord
private Record createRecord(RecordedDatabase.Link link)
-
skipDeleted
private void skipDeleted()
-
-