@Shareable @ThreadSafe @DefaultProvider(value=UserSnapshot.Builder.class) public class UserSnapshot extends Object implements Serializable
User snapshot used by SnapshotNeighborFinder
.
Modifier and Type | Class and Description |
---|---|
static class |
UserSnapshot.Builder |
Modifier and Type | Method and Description |
---|---|
LongSet |
getItemUsers(long item) |
ImmutableSparseVector |
getNormalizedUserVector(long user) |
ImmutableSparseVector |
getUserVector(long user) |
public ImmutableSparseVector getUserVector(long user)
public ImmutableSparseVector getNormalizedUserVector(long user)
public LongSet getItemUsers(long item)