Class GridFilteredIterator<T>
- java.lang.Object
-
- org.apache.ignite.internal.util.lang.GridFilteredIterator<T>
-
- All Implemented Interfaces:
Iterator<T>
- Direct Known Subclasses:
GridFilteredClosableIterator
public abstract class GridFilteredIterator<T> extends Object implements Iterator<T>
Filtered iterator.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGridFilteredIterator(Iterator<? extends T> it)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract booleanaccept(T t)booleanhasNext()Tnext()voidremove()-
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
-
-
-
-
Method Detail
-
accept
protected abstract boolean accept(T t)
- Parameters:
t- The object.- Returns:
trueIf the object is accepted by the filter.
-
-