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 MutableSparseIntSetmake()MutableSparseIntSetmake(int[] set)MutableSparseIntSetmakeCopy(IntSet x)MutableSparseIntSetparse(String string)
-
-
-
Method Detail
-
make
public MutableSparseIntSet make(int[] set)
- Specified by:
makein interfaceMutableIntSetFactory<MutableSparseIntSet>- Throws:
IllegalArgumentException- if set is null
-
parse
public MutableSparseIntSet parse(String string) throws NumberFormatException
- Specified by:
parsein interfaceMutableIntSetFactory<MutableSparseIntSet>- Throws:
NumberFormatException
-
makeCopy
public MutableSparseIntSet makeCopy(IntSet x) throws IllegalArgumentException
- Specified by:
makeCopyin interfaceMutableIntSetFactory<MutableSparseIntSet>- Throws:
IllegalArgumentException
-
make
public MutableSparseIntSet make()
- Specified by:
makein interfaceMutableIntSetFactory<MutableSparseIntSet>
-
-