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