org.grouplens.lenskit.data.text.@Deprecated public class DelimitedTextRatingCursor extends AbstractPollingCursor<Rating>
Rating objects.| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger
Deprecated.
|
| Constructor and Description |
|---|
DelimitedTextRatingCursor(BufferedReader s,
String name,
String delimiter)
Deprecated.
Inheriting from this class is deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
No-op implementation of the
Cursor.close() method. |
Rating |
copy(Rating r)
Deprecated.
Construct a copy of an object.
|
static Cursor<Rating> |
open(BufferedReader s,
String delimiter)
Deprecated.
|
Rating |
poll()
Deprecated.
Return the next element in this Cursor, or null if there are no more
elements.
|
fastNext, hasNext, nextfast, getRowCount, iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliterator@Deprecated public DelimitedTextRatingCursor(@WillCloseWhenClosed @Nonnull BufferedReader s, @Nullable String name, @Nonnull String delimiter)
s - The reader to read.name - The file name (for error messages).delimiter - The delimiter.public static Cursor<Rating> open(@WillCloseWhenClosed @Nonnull BufferedReader s, @Nonnull String delimiter)
public void close()
AbstractCursorCursor.close() method.close in interface Closeableclose in interface AutoCloseableclose in interface Cursor<Rating>close in class AbstractCursor<Rating>public Rating poll()
AbstractPollingCursorAbstractPollingCursor.copy(Object) copies objects. If this
method returns a fresh object every time, then AbstractPollingCursor.copy(Object)
should be a no-op.poll in class AbstractPollingCursor<Rating>public Rating copy(Rating r)
AbstractPollingCursorAbstractPollingCursor.poll()
method, and override this method to create a new copy of an object for when
AbstractPollingCursor.next() is called. Subclasses which return fresh objects on each
call to AbstractPollingCursor.poll() do not need to override this method.copy in class AbstractPollingCursor<Rating>r - The object to copy.obj.