soot.util
Class IntSet
java.lang.Object
|
+--soot.util.IntSet
- public class IntSet
- extends java.lang.Object
A space efficient (internal int array) implementation of the java.util.BitSet functionality.
This class is useful for sparse bit sets. In addition to the methods of BitSet, this class
provides a useful elements() method.
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
IntSet
public IntSet()
and
public void and(IntSet set)
clear
public void clear(int bit)
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
get
public boolean get(int bit)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
or
public void or(IntSet set)
set
public void set(int bit)
size
public int size()
- Returns the size as if it was a BitSet
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
xor
public void xor(IntSet set)
elementCount
public int elementCount()
elements
public int[] elements()