AnyCursor
A type-erased cursor of Element.
This cursor forwards its next() method to an arbitrary underlying cursor having the same Element type, hiding the specifics of the underlying cursor.
-
Creates a cursor that wraps a base cursor but whose type depends only on the base cursor’s element type
-
Creates a cursor that wraps a base iterator but whose type depends only on the base iterator’s element type
-