Interface IVector<T>

All Superinterfaces:
Iterable<T>
All Known Implementing Classes:
SimpleVector, SparseVector, TwoLevelVector

public interface IVector<T> extends Iterable<T>
simple interface for a vector. TODO: get rid of this and use java.util.collection.RandomAccess
  • Method Details

    • get

      T get(int x)
    • set

      void set(int x, T value)
      TODO: this can be optimized
      See Also:
    • performVerboseAction

      void performVerboseAction()
    • getMaxIndex

      int getMaxIndex()
      Returns:
      max i s.t get(i) != null