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