| java.lang.Object org.drools.repository.AssetHistoryIterator
AssetHistoryIterator | public class AssetHistoryIterator implements Iterator(Code) | | A lazy iterator for walking back through history.
Wraps the version iterator from JCR and allows skipping.
author: Michael Neale |
Method Summary | |
public boolean | hasNext() | public Object | next() | public void | remove() You can't do this with this sort of iterator. | public void | skip(int i) Skip the specified number of items. |
hasNext | public boolean hasNext()(Code) | | |
remove | public void remove()(Code) | | You can't do this with this sort of iterator.
It makes no sense to remove a history item.
Removing history is a administrative function only (and in
any case, it may have to be archived for legal reasons).
throws: UnsupportedOperationException - when called. |
skip | public void skip(int i)(Code) | | Skip the specified number of items. As this is a lazy iterator this
means less work in pulling it from the database etc.
|
|
|