当前页面:
在线文档首页 >
JBoss RULES 3.0.6 API 英文版文档
IteratorFromPositionToTableStart - JBoss RULES 3.0.6 API 英文版文档
org.drools.leaps.util
Class IteratorFromPositionToTableStart
java.lang.Object
org.drools.leaps.util.IteratorFromPositionToTableStart
- All Implemented Interfaces:
- java.util.Iterator, TableIterator
- Direct Known Subclasses:
- ConstrainedIteratorFromPositionToTableStart, IteratorFromPositionToTableEnd
public class IteratorFromPositionToTableStart
- extends java.lang.Object
- implements TableIterator
Leaps specific iterator for leaps tables. relies on leaps table double link
list structure for navigation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IteratorFromPositionToTableStart
protected IteratorFromPositionToTableStart(TableRecord record)
- constracts an leaps iterator to iterate over a single record. Used for
Dominant fact dimention iteration
- Parameters:
record
- to iterate over
IteratorFromPositionToTableStart
protected IteratorFromPositionToTableStart(TableRecord startRecord,
TableRecord currentRecord)
isEmpty
public boolean isEmpty()
- Description copied from interface:
TableIterator
- single object iterator
- Specified by:
isEmpty
in interface TableIterator
- Returns:
- table iterator
reset
public void reset()
- Specified by:
reset
in interface TableIterator
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
- Specified by:
hasNext
in interface TableIterator
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
- Specified by:
next
in interface TableIterator
peekNext
public java.lang.Object peekNext()
- Specified by:
peekNext
in interface TableIterator
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator
- Specified by:
remove
in interface TableIterator