U
- type of the usersI
- type of the itemspublic abstract class AbstractRecommenderRunner<U,I> extends Object implements RecommenderRunner<U,I>
Constructor and Description |
---|
AbstractRecommenderRunner(Stream<U> users)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
run(Function<U,Recommendation<U,I>> recProvider,
Consumer<Recommendation<U,I>> consumer)
Prints the recommendations.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
protected void run(Function<U,Recommendation<U,I>> recProvider, Consumer<Recommendation<U,I>> consumer)
recProvider
- function that provides the recommendations by calling a recommenderconsumer
- recommendation consumerCopyright © 2016. All rights reserved.