Class SiblingsIterator<T>
- java.lang.Object
-
- org.apache.sling.query.impl.iterator.AbstractIterator<T>
-
- org.apache.sling.query.impl.iterator.SiblingsIterator<T>
-
- All Implemented Interfaces:
Iterator<T>
public class SiblingsIterator<T> extends AbstractIterator<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SiblingsIterator.Type
-
Constructor Summary
Constructors Constructor Description SiblingsIterator(Predicate<T> until, T resource, SiblingsIterator.Type type, org.apache.sling.query.api.internal.TreeProvider<T> provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected T
getElement()
-
Methods inherited from class org.apache.sling.query.impl.iterator.AbstractIterator
hasNext, next, remove
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
SiblingsIterator
public SiblingsIterator(Predicate<T> until, T resource, SiblingsIterator.Type type, org.apache.sling.query.api.internal.TreeProvider<T> provider)
-
-
Method Detail
-
getElement
protected T getElement()
- Specified by:
getElement
in classAbstractIterator<T>
-
-