Constructor and Description |
---|
TestUserBuilder()
Construct a new test user builder.
|
Modifier and Type | Method and Description |
---|---|
TestUserBuilder |
addTestEntity(Rating... events) |
TestUserBuilder |
addTestRating(long iid,
double score) |
TestUserBuilder |
addTrainEntity(Rating... events) |
TestUser |
build() |
TestUserBuilder |
setTestHistory(List<Rating> test) |
TestUserBuilder |
setTrainHistory(List<Rating> train) |
TestUserBuilder |
setUserId(long uid) |
public TestUserBuilder setUserId(long uid)
public TestUserBuilder addTestEntity(Rating... events)
public TestUserBuilder addTestRating(long iid, double score)
public TestUserBuilder addTrainEntity(Rating... events)
public TestUserBuilder setTrainHistory(List<Rating> train)
public TestUserBuilder setTestHistory(List<Rating> test)
public TestUser build()