Package nxt.db
Class FilteringIterator<T>
- java.lang.Object
-
- nxt.db.FilteringIterator<T>
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<T>
,java.util.Iterator<T>
public final class FilteringIterator<T> extends java.lang.Object implements java.util.Iterator<T>, java.lang.Iterable<T>, java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description FilteringIterator(DbIterator<T> dbIterator, int from, int to)
FilteringIterator(DbIterator<T> dbIterator, Filter<T> filter)
FilteringIterator(DbIterator<T> dbIterator, Filter<T> filter, int from, int to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
hasNext()
java.util.Iterator<T>
iterator()
T
next()
void
remove()
-
-
-
Constructor Detail
-
FilteringIterator
public FilteringIterator(DbIterator<T> dbIterator, Filter<T> filter)
-
FilteringIterator
public FilteringIterator(DbIterator<T> dbIterator, int from, int to)
-
FilteringIterator
public FilteringIterator(DbIterator<T> dbIterator, Filter<T> filter, int from, int to)
-
-