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