Skip to content

Commit 849d59d

Browse files
committed
update docs for Cursor.getAll()
1 parent 892b2dd commit 849d59d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

objectbox-java/src/main/java/io/objectbox/Cursor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public T first() {
194194
return (T) nativeFirstEntity(cursor);
195195
}
196196

197-
/** Does not work yet, also probably won't be faster than {@link Box#getAll()}. */
197+
/** ~10% slower than iterating with {@link #first()} and {@link #next()} as done by {@link Box#getAll()}. */
198198
public List<T> getAll() {
199199
return (List) nativeGetAllEntities(cursor);
200200
}

0 commit comments

Comments
 (0)