Lines Matching refs:cursor
23 * Abstract implementation of EntityIterator that makes it easy to wrap a cursor
32 * Constructor that makes initializes the cursor such that the iterator points to the
34 * @param cursor the cursor that contains the rows that make up the entities
36 public CursorEntityIterator(Cursor cursor) {
38 mCursor = cursor;
43 * Returns the entity that the cursor is currently pointing to. This must take care to advance
44 * the cursor past this entity. This will never be called if the cursor is at the end.
45 * @param cursor the cursor that contains the entity rows
46 * @return the entity that the cursor is currently pointing to
49 public abstract Entity getEntityAndIncrementCursor(Cursor cursor) throws RemoteException;
103 * may be released (such as a SQLite cursor).