|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.util.IteratorHelper
org.apache.jackrabbit.commons.iterator
package contains a set of more feature rich and type safe
classes for implementing the JCR iterator interfaces
public class IteratorHelper
IteratorHelper is a utility class which
wraps an iterator and implements the various typed iterator
interfaces.
| Field Summary | |
|---|---|
static IteratorHelper |
EMPTY
Deprecated. |
| Constructor Summary | |
|---|---|
IteratorHelper(java.util.Collection c)
Deprecated. Constructs an IteratorHelper which is backed
by a java.util.Collection. |
|
IteratorHelper(java.util.Iterator iter)
Deprecated. Constructs an IteratorHelper which is wrapping
a java.util.Iterator. |
|
| Method Summary | |
|---|---|
long |
getPosition()
Deprecated. |
long |
getSize()
Deprecated. |
boolean |
hasNext()
Deprecated. |
java.lang.Object |
next()
Deprecated. |
javax.jcr.Node |
nextNode()
Deprecated. |
javax.jcr.nodetype.NodeType |
nextNodeType()
Deprecated. |
javax.jcr.Property |
nextProperty()
Deprecated. |
void |
remove()
Deprecated. |
void |
skip(long skipNum)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final IteratorHelper EMPTY
| Constructor Detail |
|---|
public IteratorHelper(java.util.Collection c)
IteratorHelper which is backed
by a java.util.Collection.
c - collection which should be iterated over.public IteratorHelper(java.util.Iterator iter)
IteratorHelper which is wrapping
a java.util.Iterator.
iter - iterator which should be wrapped.| Method Detail |
|---|
public void skip(long skipNum)
skip in interface javax.jcr.RangeIteratorpublic long getSize()
getSize in interface javax.jcr.RangeIteratorpublic long getPosition()
getPosition in interface javax.jcr.RangeIteratorpublic boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iteratorpublic javax.jcr.Node nextNode()
nextNode in interface javax.jcr.NodeIteratorpublic javax.jcr.Property nextProperty()
nextProperty in interface javax.jcr.PropertyIteratorpublic javax.jcr.nodetype.NodeType nextNodeType()
nextNodeType in interface javax.jcr.nodetype.NodeTypeIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||