public class CursorFilter<T> extends Cursor<T>
Constructor and Description |
---|
CursorFilter(Cursor<T> cursor,
com.google.common.base.Predicate<T> predicate) |
Modifier and Type | Method and Description |
---|---|
protected void |
basicAbort() |
protected List<T> |
basicAllSolutions()
The filtered cursor could have optimized its basicAllSolutions method
For example, it could have brought all the results at once instead of lazily asking for them
Therefore, this method is overridden to profit from such optimization if existing
|
protected void |
basicClose() |
protected T |
basicNext()
Returns the next available element in the cursor.
|
boolean |
isAbortable() |
abort, adapt, allSolutions, basicOneSolutionOrThrow, basicSolutionsRange, cachedNext, close, filter, finalize, getState, hasNext, hasSolution, isExhausted, isOpen, isReady, iterativeAllSolutions, next, nonSynchronizedClose, nSolutions, numberOfSolutions, oneSolution, oneSolutionOrThrow, remove, setState, solutionsRange
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public boolean isAbortable()
isAbortable
in class Cursor<T>
protected List<T> basicAllSolutions()
basicAllSolutions
in class Cursor<T>
protected void basicAbort()
basicAbort
in class Cursor<T>
protected void basicClose()
basicClose
in class Cursor<T>
protected T basicNext()
Cursor
Copyright © 2014. All rights reserved.