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