com.ibm.wala.util.intset
Class MutableSparseIntSetFactory

java.lang.Object
  extended by com.ibm.wala.util.intset.MutableSparseIntSetFactory
All Implemented Interfaces:
MutableIntSetFactory

public class MutableSparseIntSetFactory
extends java.lang.Object
implements MutableIntSetFactory

An object that creates mutable sparse int sets.


Constructor Summary
MutableSparseIntSetFactory()
           
 
Method Summary
 MutableIntSet make()
           
 MutableIntSet make(int[] set)
           
 MutableIntSet makeCopy(IntSet x)
           
 MutableIntSet parse(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutableSparseIntSetFactory

public MutableSparseIntSetFactory()
Method Detail

make

public MutableIntSet make(int[] set)
Specified by:
make in interface MutableIntSetFactory
Parameters:
set -
Throws:
java.lang.IllegalArgumentException - if set is null

parse

public MutableIntSet parse(java.lang.String string)
                    throws java.lang.NumberFormatException
Specified by:
parse in interface MutableIntSetFactory
Parameters:
string -
Throws:
java.lang.NumberFormatException

makeCopy

public MutableIntSet makeCopy(IntSet x)
Specified by:
makeCopy in interface MutableIntSetFactory

make

public MutableIntSet make()
Specified by:
make in interface MutableIntSetFactory