public class SimpleBinaryPreferencesReader extends Object implements PreferencesReader
Modifier and Type | Method and Description |
---|---|
static <U,I> SimpleBinaryPreferencesReader |
get()
Returns and instance of this class.
|
<U,I> Stream<org.jooq.lambda.tuple.Tuple3<U,I,Double>> |
read(InputStream in,
Parser<U> up,
Parser<I> ip)
Reads preferences from an input stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read
public static <U,I> SimpleBinaryPreferencesReader get()
U
- user typeI
- item typepublic <U,I> Stream<org.jooq.lambda.tuple.Tuple3<U,I,Double>> read(InputStream in, Parser<U> up, Parser<I> ip) throws IOException
PreferencesReader
read
in interface PreferencesReader
U
- user typeI
- item tpyein
- input stream to read fromup
- user parserip
- item parserIOException
- when I/O problemsCopyright © 2016. All rights reserved.