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