当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
AssetItemIterator (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.repository
Class AssetItemIterator
java.lang.Object
org.drools.repository.AssetItemIterator
- All Implemented Interfaces:
- Iterator
public class AssetItemIterator
- extends Object
- implements Iterator
This iterates over nodes and produces RuleItem's.
Also allows "skipping" of results to jump to certain items,
as per JCRs "skip".
JCR iterators are/can be lazy, so this makes the most of it for large
numbers of assets.
- Author:
- Michael Neale
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetItemIterator
public AssetItemIterator(javax.jcr.NodeIterator nodes,
RulesRepository repo)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator
next
public Object next()
- Specified by:
next in interface Iterator
remove
public void remove()
- Specified by:
remove in interface Iterator
skip
public void skip(int i)
- Parameters:
i - The number of rules to skip.
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.