Class SkipIterator<T>
java.lang.Object
com.adobe.granite.security.user.util.SkipIterator<T>
- All Implemented Interfaces:
Iterator<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> SkipIterator<T> longbooleanhasNext()next()voidremove()longskip(long skipNum) Attempts to skip a number of elementsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
SkipIterator
-
-
Method Details
-
create
-
skip
public long skip(long skipNum) Attempts to skip a number of elements- Parameters:
skipNum- number of elements to skip- Returns:
- long value with the number of elements that were actually skipped
-
getPosition
public long getPosition() -
hasNext
public boolean hasNext() -
next
-
remove
public void remove()
-