public class CursorAdapter<AdaptedType,AdapteeType> extends Cursor<AdaptedType>
Constructor and Description |
---|
CursorAdapter(Cursor<AdapteeType> cursor) |
CursorAdapter(Cursor<AdapteeType> cursor,
com.google.common.base.Function<AdapteeType,AdaptedType> adapterFunction) |
Modifier and Type | Method and Description |
---|---|
protected void |
basicAbort() |
protected List<AdaptedType> |
basicAllSolutions()
The adaptee cursor could have optimized its basicAllSolutions method.
|
protected void |
basicClose() |
protected AdaptedType |
basicNext()
Returns the next available element in the cursor.
|
protected AdaptedType |
basicOneSolutionOrThrow()
The adaptee cursor could have optimized its basicOneSolution method.
|
boolean |
isAbortable() |
abort, adapt, allSolutions, 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 CursorAdapter(Cursor<AdapteeType> cursor)
public CursorAdapter(Cursor<AdapteeType> cursor, com.google.common.base.Function<AdapteeType,AdaptedType> adapterFunction)
public boolean isAbortable()
isAbortable
in class Cursor<AdaptedType>
protected AdaptedType basicOneSolutionOrThrow()
basicOneSolutionOrThrow
in class Cursor<AdaptedType>
protected List<AdaptedType> basicAllSolutions()
basicAllSolutions
in class Cursor<AdaptedType>
protected void basicAbort()
basicAbort
in class Cursor<AdaptedType>
protected void basicClose()
basicClose
in class Cursor<AdaptedType>
protected AdaptedType basicNext()
Cursor
basicNext
in class Cursor<AdaptedType>
Copyright © 2014. All rights reserved.