net.cscott.jutil
public class BitSetFactory<V> extends SetFactory<V>
Version: $Id: BitSetFactory.java,v 1.6 2006-10-30 20:14:41 cananian Exp $
| Constructor Summary | |
|---|---|
| BitSetFactory(Collection<V> universe, Indexer<V> indexer) | |
| BitSetFactory(Collection<V> universe) Creates a BitSetFactory, given a
universe of values. | |
| Method Summary | |
|---|---|
| Set<V> | makeFullSet() Generates a new mutable Set, using the elements
of the universe for this as its initial contents. |
| BitStringSet<V> | makeSet(Collection<? extends V> c) Generates a new mutable Set, using the elements
of c as a template for its initial contents.
|
universe of values. Makes a new
Indexer for universe; the
created Indexer will implement the
Indexer.getByID() method to allow
efficient iteration over sets.this as its initial contents.c as a template for its initial contents.
c
must have been part of the universe for
this.
c.