- AbstractCursor<T> - Class in org.grouplens.lenskit.cursors
-
Base class to make
Cursors easier to implement.
- AbstractCursor() - Constructor for class org.grouplens.lenskit.cursors.AbstractCursor
-
Construct a cursor of unknown size.
- AbstractCursor(int) - Constructor for class org.grouplens.lenskit.cursors.AbstractCursor
-
Construct a cursor.
- AbstractPollingCursor<T> - Class in org.grouplens.lenskit.cursors
-
An extension of AbstractCursor that simplifies the mechanics of the
next()/hasNext() implementation to a simple method,
AbstractPollingCursor.poll().
- AbstractPollingCursor() - Constructor for class org.grouplens.lenskit.cursors.AbstractPollingCursor
-
Construct a cursor of unknown size.
- AbstractPollingCursor(int) - Constructor for class org.grouplens.lenskit.cursors.AbstractPollingCursor
-
Construct a cursor with a known number of rows.
- AbstractScoredId - Class in org.grouplens.lenskit.scored
-
A base class for ScoredId implementations providing
equals and hashCode methods.
- AbstractScoredId() - Constructor for class org.grouplens.lenskit.scored.AbstractScoredId
-
- acquire() - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Mark the key set as owned, but don't copy it.
- activeIndexIterator(boolean) - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Get an iterator over active indexes.
- activeIndexIterator(int, int, int) - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Get an iterator over active indexes, initialized to the specified index and limited to a
particular range.
- activeSetView() - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Get a vew of this key set as a set.
- add(long, double) - Method in class org.grouplens.lenskit.scored.ScoredIdListBuilder
-
Add a scored ID without boxing.
- add(ScoredId) - Method in class org.grouplens.lenskit.scored.ScoredIdListBuilder
-
Add a scored ID.
- add(long, double) - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Add a value to the specified entry.
- add(double) - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Add a value to all set keys in this array.
- add(SparseVector) - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Add another rating vector to this one.
- add(int, double) - Method in class org.grouplens.lenskit.vectors.MutableVec
-
Add a value to an entry in this vector.
- add(Vec) - Method in class org.grouplens.lenskit.vectors.MutableVec
-
Add another vector to this vector.
- addAll(Iterable<ScoredId>) - Method in class org.grouplens.lenskit.scored.ScoredIdListBuilder
-
Add a collection of IDs.
- addChannel(Symbol, double) - Method in class org.grouplens.lenskit.scored.ScoredIdBuilder
-
Add a new unboxed side channel to the ScoredId under construction.
- addChannel(TypedSymbol<K>, K) - Method in class org.grouplens.lenskit.scored.ScoredIdBuilder
-
Add a new side channel to the ScoredId under construction.
- addChannel(Symbol) - Method in class org.grouplens.lenskit.scored.ScoredIdListBuilder
-
Add a side channel to the list builder with a default value of 0.
- addChannel(Symbol, double) - Method in class org.grouplens.lenskit.scored.ScoredIdListBuilder
-
Add a side channel to the list builder.
- addChannel(TypedSymbol<?>) - Method in class org.grouplens.lenskit.scored.ScoredIdListBuilder
-
Add a side channel to the list builder.
- addChannel(TypedSymbol<T>, T) - Method in class org.grouplens.lenskit.scored.ScoredIdListBuilder
-
Add a typed side channel to the list builder.
- addChannel(TypedSymbol<K>) - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Add a typed channel to this vector.
- addChannels(Iterable<Symbol>) - Method in class org.grouplens.lenskit.scored.ScoredIdListBuilder
-
Add multiple unboxed channels with a default value of 0.
- addChannelVector(Symbol) - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Add a channel to this vector.
- addTypedChannels(Iterable<? extends TypedSymbol<?>>) - Method in class org.grouplens.lenskit.scored.ScoredIdListBuilder
-
Add multiple channels with a default value of null.
- asLongCollection(Collection<Long>) - Static method in class org.grouplens.lenskit.collections.LongUtils
-
Get a Fastutil
LongCollection from a
Collection of longs.
- asLongSet(Set<Long>) - Static method in class org.grouplens.lenskit.collections.LongUtils
-
Get a Fastutil
LongSet from a
Set of longs.
- channelOrder(Symbol) - Static method in class org.grouplens.lenskit.scored.ScoredIds
-
An ordering (comparator) that compares IDs by channel.
- channelOrder(TypedSymbol<T>) - Static method in class org.grouplens.lenskit.scored.ScoredIds
-
An ordering (comparator) that compares IDs by typed channel.
- channelOrder(TypedSymbol<T>, Comparator<? super T>) - Static method in class org.grouplens.lenskit.scored.ScoredIds
-
An ordering (comparator) that compares IDs by typed channel.
- clear() - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Clear all values from the set.
- clearChannels() - Method in class org.grouplens.lenskit.scored.ScoredIdBuilder
-
Removes all channels (typed and double) from new ScoredId objects produced by the builder.
- clone() - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Return a copy of this key set.
- clone() - Method in class org.grouplens.lenskit.vectors.VectorEntry
-
- close() - Method in class org.grouplens.lenskit.cursors.AbstractCursor
-
- close() - Method in interface org.grouplens.lenskit.cursors.Cursor
-
Close the cursor.
- collectionFromVector(SparseVector) - Static method in class org.grouplens.lenskit.scored.ScoredIds
-
- CollectionUtils - Class in org.grouplens.lenskit.collections
-
Various helper methods for working with collections (particularly Fastutil
collections).
- compactCopy() - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Make a compact copy of this key set.
- compactCopy(boolean) - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Make a compact copy of this key set.
- containsKey(long) - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Query whether this set contains the specified key in its domain.
- containsKey(long) - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Query whether the vector contains an entry for the key in question.
- copy(E) - Method in class org.grouplens.lenskit.collections.CopyingFastCollection
-
Copy an element of the collection.
- copy(T) - Method in class org.grouplens.lenskit.cursors.AbstractPollingCursor
-
Construct a copy of an object.
- copy() - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Copy the rating vector.
- copyBuilder(ScoredId) - Static method in class org.grouplens.lenskit.scored.ScoredIds
-
Create a new builder initialized to copy the specified scored ID.
- CopyingFastCollection<E> - Class in org.grouplens.lenskit.collections
-
- CopyingFastCollection() - Constructor for class org.grouplens.lenskit.collections.CopyingFastCollection
-
- countCommonKeys(SparseVector) - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Count the common keys between two vectors.
- create(long...) - Static method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Create a key set with some keys.
- create(long, double) - Static method in class org.grouplens.lenskit.scored.ScoredIds
-
Create a scored id with no channels.
- create(Map<Long, Double>) - Static method in class org.grouplens.lenskit.vectors.ImmutableSparseVector
-
Construct a new immutable sparse vector from a map.
- create(double[]) - Static method in class org.grouplens.lenskit.vectors.ImmutableVec
-
Create a new vector from data in an array.
- create(Collection<Long>) - Static method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Create a new empty mutable sparse vector with the specified key domain.
- create(Collection<Long>, double) - Static method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Create a new mutable sparse vector with the specified key domain and filled with a value.
- create(Map<Long, Double>) - Static method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Create a new mutable sparse vector with the specified content.
- create(long...) - Static method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Create a mutable sparse vector with a fixed set of keys.
- create(int) - Static method in class org.grouplens.lenskit.vectors.MutableVec
-
Create a new mutable vector with the specified size.
- Cursor<T> - Interface in org.grouplens.lenskit.cursors
-
Cursors over data connections.
- CursorIterator<T> - Class in org.grouplens.lenskit.cursors
-
Simple implementation of an Iterator that wraps a Cursor's data.
- CursorIterator(Cursor<T>) - Constructor for class org.grouplens.lenskit.cursors.CursorIterator
-
Construct a new iterator from a cursor.
- Cursors - Class in org.grouplens.lenskit.cursors
-
Utility methods for cursors.
- failOnUnknownChannels() - Method in class org.grouplens.lenskit.scored.ScoredIdListBuilder
-
Set the builder to fail on unknown channels.
- fast(Iterable<E>) - Static method in class org.grouplens.lenskit.collections.CollectionUtils
-
Use the fast iterator of an iterable, if available.
- fast() - Method in class org.grouplens.lenskit.cursors.AbstractCursor
-
- fast() - Method in interface org.grouplens.lenskit.cursors.Cursor
-
- fast() - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Return an iterable view of this vector using a fast iterator.
- fast(VectorEntry.State) - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Return an iterable view of this vector using a fast iterator.
- FastCollection<E> - Interface in org.grouplens.lenskit.collections
-
Collection supporting fast iteration.
- fastIntersect(SparseVector, SparseVector) - Static method in class org.grouplens.lenskit.vectors.Vectors
-
Iterate over the intersection of two vectors without the overhead of object creation.
- fastIterator() - Method in interface org.grouplens.lenskit.collections.FastCollection
-
Return a fast iterator.
- fastIterator() - Method in class org.grouplens.lenskit.scored.PackedScoredIdList
-
- fastIterator() - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Fast iterator over all set entries (it can reuse entry objects).
- fastIterator(VectorEntry.State) - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Fast iterator over entries (it can reuse entry objects).
- fastNext() - Method in class org.grouplens.lenskit.cursors.AbstractCursor
-
Variant of
Cursor.next() that may mutate and return the same object
avoid excess allocations.
- fastNext() - Method in class org.grouplens.lenskit.cursors.AbstractPollingCursor
-
- fastNext() - Method in interface org.grouplens.lenskit.cursors.Cursor
-
Variant of
Cursor.next() that may mutate and return the same object
avoid excess allocations.
- fill(double) - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Set the values for all items in the key domain to value.
- fill(double) - Method in class org.grouplens.lenskit.vectors.MutableVec
-
Fill the vector with a value.
- filter(Cursor<T>, Predicate<? super T>) - Static method in class org.grouplens.lenskit.cursors.Cursors
-
Filter a cursor.
- filter(Cursor<?>, Class<T>) - Static method in class org.grouplens.lenskit.cursors.Cursors
-
Filter a cursor to only contain elements of type .
- finish() - Method in class org.grouplens.lenskit.scored.ScoredIdListBuilder
-
- freeze() - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Construct an immutable sparse vector from this vector's data (if possible),
invalidating this vector in the process.
- fromCollection(Collection<Long>, boolean) - Static method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Create a key set from a collection of keys.
- fromCollection(Collection<Long>) - Static method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Create a key set from a collection of keys.
- fromScoredIds(List<ScoredId>) - Static method in class org.grouplens.lenskit.vectors.Vectors
-
- get(int) - Method in class org.grouplens.lenskit.scored.PackedScoredIdList
-
- get(long) - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Get the value for .
- get(long, double) - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Get the value for .
- get(VectorEntry) - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Get the value for the entry's key.
- get(int) - Method in class org.grouplens.lenskit.vectors.Vec
-
Get the value from the vector at the specified position.
- getActiveMask() - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Get the active keys as a bit set.
- getChannel(TypedSymbol<K>) - Method in class org.grouplens.lenskit.vectors.ImmutableSparseVector
-
- getChannel(TypedSymbol<K>) - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
- getChannel(TypedSymbol<K>) - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Fetch the channel stored under a particular typed symbol.
- getChannels() - Method in interface org.grouplens.lenskit.scored.ScoredId
-
Get the channels associated with a scored ID.
- getChannelSymbols() - Method in class org.grouplens.lenskit.scored.AbstractScoredId
-
- getChannelSymbols() - Method in interface org.grouplens.lenskit.scored.ScoredId
-
Determine the typed symbols associated with all side channels of a ScoredId.
- getChannelSymbols() - Method in class org.grouplens.lenskit.vectors.ImmutableSparseVector
-
- getChannelSymbols() - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
- getChannelSymbols() - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Retrieve all symbols that map to typed side channels for this vector.
- getChannelValue(TypedSymbol<T>) - Method in interface org.grouplens.lenskit.scored.ScoredId
-
Get the value for a channel.
- getChannelVector(Symbol) - Method in class org.grouplens.lenskit.vectors.ImmutableSparseVector
-
- getChannelVector(Symbol) - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
- getChannelVector(Symbol) - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Get the vector associated with a particular unboxed channel.
- getChannelVectorSymbols() - Method in class org.grouplens.lenskit.vectors.ImmutableSparseVector
-
- getChannelVectorSymbols() - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
- getChannelVectorSymbols() - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Retrieve all symbols that map to side channels for this vector.
- getDoubleValue() - Method in class org.grouplens.lenskit.symbols.DoubleSymbolValue
-
- getId() - Method in interface org.grouplens.lenskit.scored.ScoredId
-
Retrieve the numerical identifier of this ScoredId.
- getIndex(long) - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Get the index for a key, regardless of its active state.
- getIndexIfActive(long) - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Get the index for a key if that key is active.
- getKey(int) - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Get the key at an index.
- getKey() - Method in class org.grouplens.lenskit.vectors.VectorEntry
-
Get the key at this entry.
- getName() - Method in class org.grouplens.lenskit.symbols.Symbol
-
Get the name for a symbol.
- getName() - Method in class org.grouplens.lenskit.symbols.TypedSymbol
-
Get the name for a symbol.
- getOrAddChannel(TypedSymbol<K>) - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Add a typed channel to the vector, even if there is already a
channel with the same symbol.
- getOrAddChannelVector(Symbol) - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Add a channel to the vector, even if there is already a
channel with the same symbol.
- getRawSymbol() - Method in class org.grouplens.lenskit.symbols.SymbolValue
-
Get the raw
Symbol from the symbol value.
- getRawSymbol() - Method in class org.grouplens.lenskit.symbols.TypedSymbol
-
Get the symbol.
- getRowCount() - Method in class org.grouplens.lenskit.cursors.AbstractCursor
-
- getRowCount() - Method in interface org.grouplens.lenskit.cursors.Cursor
-
Get an upper bound on the number of rows available from the cursor.
- getScore() - Method in interface org.grouplens.lenskit.scored.ScoredId
-
Retrieve the score of this ScoredId.
- getSymbol() - Method in class org.grouplens.lenskit.symbols.DoubleSymbolValue
-
- getSymbol() - Method in class org.grouplens.lenskit.symbols.SymbolValue
-
- getType() - Method in class org.grouplens.lenskit.symbols.TypedSymbol
-
Get the type for a typed symbol.
- getUnboxedChannels() - Method in class org.grouplens.lenskit.scored.AbstractScoredId
-
- getUnboxedChannels() - Method in interface org.grouplens.lenskit.scored.ScoredId
-
Get the unboxed channels associated with a scored ID.
- getUnboxedChannelSymbols() - Method in class org.grouplens.lenskit.scored.AbstractScoredId
-
- getUnboxedChannelSymbols() - Method in interface org.grouplens.lenskit.scored.ScoredId
-
Determine the symbols associated with all unboxed double side channels of a ScoredId.
- getUnboxedChannelValue(Symbol) - Method in interface org.grouplens.lenskit.scored.ScoredId
-
Get the unboxed value for a channel.
- getValue() - Method in class org.grouplens.lenskit.symbols.DoubleSymbolValue
-
- getValue() - Method in class org.grouplens.lenskit.symbols.SymbolValue
-
- getValue() - Method in class org.grouplens.lenskit.vectors.VectorEntry
-
Get the value at this entry.
- getVector() - Method in class org.grouplens.lenskit.vectors.VectorEntry
-
Get the sparse vector associated with this entry.
- idFunction() - Static method in class org.grouplens.lenskit.scored.ScoredIds
-
A Function that extracts the ID from a scored ID.
- idOrder() - Static method in class org.grouplens.lenskit.scored.ScoredIds
-
An ordering (comparator) that compares IDs by score.
- ignoreUnknownChannels() - Method in class org.grouplens.lenskit.scored.ScoredIdListBuilder
-
- immutable() - Method in class org.grouplens.lenskit.vectors.ImmutableSparseVector
-
- immutable() - Method in class org.grouplens.lenskit.vectors.ImmutableVec
-
- immutable() - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
- immutable() - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Return an immutable snapshot of this sparse vector.
- immutable() - Method in class org.grouplens.lenskit.vectors.Vec
-
Get an immutable vector with this vector's contents.
- ImmutableSparseVector - Class in org.grouplens.lenskit.vectors
-
Immutable sparse vectors.
- ImmutableVec - Class in org.grouplens.lenskit.vectors
-
- inactiveCopy() - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Return a copy of this key set that is entirely inactive.
- indexIsActive(int) - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Query whether an index is active.
- intersect(SparseVector, SparseVector) - Static method in class org.grouplens.lenskit.vectors.Vectors
-
Iterate over the intersection of two vectors - they keys they have in common.
- interval(int, int) - Static method in class org.grouplens.lenskit.collections.CollectionUtils
-
Create an IntList that contains all numbers in a specified interval.
- invert() - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Invert the active status of all keys in the set.
- isCompatibleWith(LongKeyDomain) - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Query whether this key set is compatible with another.
- isEmpty() - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Query whether this vector is empty.
- isSet(VectorEntry) - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Check whether an entry is set.
- isSet() - Method in class org.grouplens.lenskit.vectors.VectorEntry
-
Query whether this entry is set.
- isSorted(long[], int, int) - Static method in class org.grouplens.lenskit.collections.MoreArrays
-
Check that the array is sorted.
- iterator() - Method in class org.grouplens.lenskit.collections.CopyingFastCollection
-
- iterator() - Method in class org.grouplens.lenskit.cursors.AbstractCursor
-
Get the iterator.
- iterator() - Method in class org.grouplens.lenskit.vectors.SparseVector
-
- scale(double) - Method in class org.grouplens.lenskit.vectors.MutableVec
-
Scale this vector.
- ScoredId - Interface in org.grouplens.lenskit.scored
-
A numerical ID associated with a score and optional side channels.
- ScoredIdBuilder - Class in org.grouplens.lenskit.scored
-
Use a ScoredId.Builder to instantiate new ScoredId objects.
- ScoredIdBuilder() - Constructor for class org.grouplens.lenskit.scored.ScoredIdBuilder
-
Create a ScoredIdBuilder.
- ScoredIdBuilder(long) - Constructor for class org.grouplens.lenskit.scored.ScoredIdBuilder
-
Create a ScoredIdBuilder.
- ScoredIdBuilder(long, double) - Constructor for class org.grouplens.lenskit.scored.ScoredIdBuilder
-
Create a ScoredIdBuilder.
- ScoredIdListBuilder - Class in org.grouplens.lenskit.scored
-
Builder for packed lists of scored ids.
- ScoredIdListBuilder() - Constructor for class org.grouplens.lenskit.scored.ScoredIdListBuilder
-
- ScoredIdListBuilder(int) - Constructor for class org.grouplens.lenskit.scored.ScoredIdListBuilder
-
- ScoredIds - Class in org.grouplens.lenskit.scored
-
- scoreOrder() - Static method in class org.grouplens.lenskit.scored.ScoredIds
-
An ordering (comparator) that compares IDs by score.
- set(long, double) - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Set a value in the vector.
- set(VectorEntry, double) - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Set the value in the vector corresponding to a vector entry.
- set(SparseVector) - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Set the values in this SparseVector to equal the values in
for each key that is present in both vectors.
- set(int, double) - Method in class org.grouplens.lenskit.vectors.MutableVec
-
Set a value in this vector.
- set(Vec) - Method in class org.grouplens.lenskit.vectors.MutableVec
-
Copy a vector into this vector.
- set(double[]) - Method in class org.grouplens.lenskit.vectors.MutableVec
-
Copy an array into this vector.
- setActive(int, boolean) - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Set the active flag for a single key.
- setActive(BitSet) - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Set the active bits from a bit set.
- setAllActive(boolean) - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Set the active status of all entries in the key set.
- setDifference(LongSet, LongSet) - Static method in class org.grouplens.lenskit.collections.LongUtils
-
Compute the set difference of two sets.
- setId(long) - Method in class org.grouplens.lenskit.scored.ScoredIdBuilder
-
Change the ID of the ScoredID object under construction.
- setScore(double) - Method in class org.grouplens.lenskit.scored.ScoredIdBuilder
-
Change the score of the ScoredId object under construction.
- setUnion(LongSortedSet, LongSortedSet) - Static method in class org.grouplens.lenskit.collections.LongUtils
-
Compute the union of two sets.
- shrinkDomain() - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Create a new version of this MutableSparseVector that has keyDomain equal to this vector's
key set.
- size() - Method in class org.grouplens.lenskit.collections.LongKeyDomain
-
Get the number of active keys in this set.
- size() - Method in class org.grouplens.lenskit.scored.PackedScoredIdList
-
- size() - Method in class org.grouplens.lenskit.scored.ScoredIdListBuilder
-
Get the number of items currently in the builder.
- size() - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Get the size of this vector (the number of keys).
- size() - Method in class org.grouplens.lenskit.vectors.Vec
-
Get the dimension of this vector (the number of elements).
- sort(Cursor<T>, Comparator<? super T>) - Static method in class org.grouplens.lenskit.cursors.Cursors
-
Sort a cursor.
- sort(Comparator<ScoredId>) - Method in class org.grouplens.lenskit.scored.ScoredIdListBuilder
-
Sort the list-in-progress by the specified comparator.
- SparseVector - Class in org.grouplens.lenskit.vectors
-
Read-only interface to sparse vectors.
- subtract(SparseVector) - Method in class org.grouplens.lenskit.vectors.MutableSparseVector
-
Subtract another rating vector from this one.
- sum() - Method in class org.grouplens.lenskit.vectors.ImmutableSparseVector
-
- sum() - Method in class org.grouplens.lenskit.vectors.ImmutableVec
-
- sum() - Method in class org.grouplens.lenskit.vectors.SparseVector
-
Compute and return the L1 norm (sum) of the vector.
- sum() - Method in class org.grouplens.lenskit.vectors.Vec
-
Get the sum of this vector.
- Symbol - Class in org.grouplens.lenskit.symbols
-
Interface to persistent symbols.
- SymbolValue<T> - Class in org.grouplens.lenskit.symbols
-
A pairing of a
TypedSymbol with a value of the same type.