Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import java.util.List;
import java.util.ListIterator;
import java.util.NoSuchElementException;
import java.util.RandomAccess;
import java.util.concurrent.locks.ReentrantLock;

import android.database.Cursor;
Expand All @@ -42,7 +43,7 @@
* @param <E>
* Entity type.
*/
public class LazyList<E> implements List<E>, Closeable {
public class LazyList<E> implements List<E>, Closeable, RandomAccess {
protected class LazyIterator implements CloseableListIterator<E> {
private int index;
private final boolean closeWhenDone;
Expand Down