Example usage for Java org.apache.mahout.cf.taste.impl.common FastIDSet fields, constructors, methods, implement or subclass
The text is from its open source code.
FastIDSet() Creates a new FastIDSet with default capacity. | |
FastIDSet(long[] initialKeys) | |
FastIDSet(int size) |
boolean | add(long key) |
boolean | addAll(long[] c) |
boolean | addAll(FastIDSet c) |
void | clear() |
boolean | contains(long key) |
int | intersectionSize(FastIDSet other) Convenience method to quickly compute just the size of the intersection with another FastIDSet . |
boolean | isEmpty() |
LongPrimitiveIterator | iterator() |
void | rehash() |
boolean | remove(long key) |
boolean | removeAll(long[] c) |
boolean | removeAll(FastIDSet c) |
int | size() |
long[] | toArray() |