|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.util.intset.SparseLongIntVector
public class SparseLongIntVector
an int vector implementation designed for low occupancy. Note that get() from this vector is a binary search. This should only be used for small sets ... insertion and deletion are linear in size of set. In this optimizations, the indices are longs.
| Constructor Summary | |
|---|---|
SparseLongIntVector(int defaultValue)
|
|
| Method Summary | |
|---|---|
int |
get(long x)
|
void |
performVerboseAction()
|
void |
set(long x,
int value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SparseLongIntVector(int defaultValue)
| Method Detail |
|---|
public int get(long x)
public void set(long x,
int value)
public void performVerboseAction()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||