public class LsfIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>, java.lang.Iterable<T>
Constructor and Description |
---|
LsfIterator(LsfIndex index,
java.lang.Class<T> clazz) |
LsfIterator(LsfIndex index,
java.lang.Class<T> clazz,
int fromIndex) |
LsfIterator(LsfIndex index,
java.lang.Class<T> clazz,
int fromIndex,
long millisBetweenMessages) |
LsfIterator(LsfIndex index,
java.lang.Class<T> clazz,
long millisBetweenMessages) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentIndex() |
boolean |
hasNext() |
java.util.Iterator<T> |
iterator() |
static void |
main(java.lang.String[] args) |
T |
next() |
void |
remove() |
public LsfIterator(LsfIndex index, java.lang.Class<T> clazz, int fromIndex, long millisBetweenMessages)
public LsfIterator(LsfIndex index, java.lang.Class<T> clazz, long millisBetweenMessages)
public boolean hasNext()
hasNext
in interface java.util.Iterator<T>
public java.util.Iterator<T> iterator()
iterator
in interface java.lang.Iterable<T>
public void remove()
remove
in interface java.util.Iterator<T>
public int getCurrentIndex()
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception