Package com.ibm.wala.util.intset
Class SemiSparseMutableIntSetFactory
- java.lang.Object
-
- com.ibm.wala.util.intset.SemiSparseMutableIntSetFactory
-
- All Implemented Interfaces:
MutableIntSetFactory<SemiSparseMutableIntSet>
public class SemiSparseMutableIntSetFactory extends Object implements MutableIntSetFactory<SemiSparseMutableIntSet>
-
-
Constructor Summary
Constructors Constructor Description SemiSparseMutableIntSetFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SemiSparseMutableIntSet
make()
SemiSparseMutableIntSet
make(int[] set)
SemiSparseMutableIntSet
makeCopy(IntSet x)
SemiSparseMutableIntSet
parse(String string)
-
-
-
Method Detail
-
make
public SemiSparseMutableIntSet make(int[] set)
- Specified by:
make
in interfaceMutableIntSetFactory<SemiSparseMutableIntSet>
- Parameters:
set
-- Throws:
IllegalArgumentException
- if set is null
-
parse
public SemiSparseMutableIntSet parse(String string) throws NumberFormatException
- Specified by:
parse
in interfaceMutableIntSetFactory<SemiSparseMutableIntSet>
- Parameters:
string
-- Throws:
NumberFormatException
-
makeCopy
public SemiSparseMutableIntSet makeCopy(IntSet x)
- Specified by:
makeCopy
in interfaceMutableIntSetFactory<SemiSparseMutableIntSet>
-
make
public SemiSparseMutableIntSet make()
- Specified by:
make
in interfaceMutableIntSetFactory<SemiSparseMutableIntSet>
-
-