public class BitVectorIntSetFactory extends Object implements MutableIntSetFactory<BitVectorIntSet>
Constructor and Description |
---|
BitVectorIntSetFactory() |
Modifier and Type | Method and Description |
---|---|
BitVectorIntSet |
make() |
BitVectorIntSet |
make(int[] set) |
BitVectorIntSet |
makeCopy(IntSet x) |
BitVectorIntSet |
parse(String string) |
public BitVectorIntSet make(int[] set)
make
in interface MutableIntSetFactory<BitVectorIntSet>
set
- IllegalArgumentException
- if set is nullpublic BitVectorIntSet parse(String string) throws NumberFormatException
parse
in interface MutableIntSetFactory<BitVectorIntSet>
string
- NumberFormatException
public BitVectorIntSet makeCopy(IntSet x) throws IllegalArgumentException
makeCopy
in interface MutableIntSetFactory<BitVectorIntSet>
IllegalArgumentException
public BitVectorIntSet make()
make
in interface MutableIntSetFactory<BitVectorIntSet>