Class SimpleIntVector

java.lang.Object
com.ibm.wala.util.intset.SimpleIntVector
All Implemented Interfaces:
IntVector, Serializable
Direct Known Subclasses:
Path, TunedSimpleIntVector

public class SimpleIntVector extends Object implements IntVector, Serializable
simple implementation of IntVector
See Also:
  • Constructor Details

    • SimpleIntVector

      public SimpleIntVector(int defaultValue)
    • SimpleIntVector

      public SimpleIntVector(int defaultValue, int initialSize)
  • Method Details

    • get

      public int get(int x)
      Specified by:
      get in interface IntVector
    • set

      public void set(int x, int value)
      Specified by:
      set in interface IntVector
    • performVerboseAction

      public void performVerboseAction()
    • getMaxIndex

      public int getMaxIndex()
      Specified by:
      getMaxIndex in interface IntVector
      Returns:
      max i s.t set(i) was called.