| Package | Description |
|---|---|
| org.grouplens.lenskit.collections |
Custom collections and related utilities.
|
| Modifier and Type | Method and Description |
|---|---|
LongKeyDomain |
LongKeyDomain.clone()
Return a copy of this key set.
|
LongKeyDomain |
LongKeyDomain.compactCopy()
Make a compact copy of this key set.
|
LongKeyDomain |
LongKeyDomain.compactCopy(boolean active)
Make a compact copy of this key set.
|
static LongKeyDomain |
LongKeyDomain.create(long... keys)
Create a key set with some keys.
|
static LongKeyDomain |
LongKeyDomain.empty()
Create an empty key domain.
|
static LongKeyDomain |
LongKeyDomain.fromCollection(Collection<Long> keys)
Create a key set from a collection of keys.
|
static LongKeyDomain |
LongKeyDomain.fromCollection(Collection<Long> keys,
boolean initiallyActive)
Create a key set from a collection of keys.
|
LongKeyDomain |
LongKeyDomain.inactiveCopy()
Return a copy of this key set that is entirely inactive.
|
LongKeyDomain |
LongKeyDomain.invert()
Invert the active status of all keys in the set.
|
LongKeyDomain |
LongKeyDomain.setActive(BitSet active)
Set the active bits from a bit set.
|
LongKeyDomain |
LongKeyDomain.setActive(int idx,
boolean active)
Set the active flag for a single key.
|
LongKeyDomain |
LongKeyDomain.setAllActive(boolean active)
Set the active status of all entries in the key set.
|
LongKeyDomain |
LongKeyDomain.unowned()
Mark this key set as
|
static LongKeyDomain |
LongKeyDomain.wrap(long[] keys,
int size,
boolean initiallyActive)
Wrap a key array (with a specified size) into a key set.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
LongKeyDomain.isCompatibleWith(LongKeyDomain other)
Query whether this key set is compatible with another.
|
Copyright © 2013 GroupLens Research. All Rights Reserved.