fr.inria.infovis.column
Class IntVector

java.lang.Object
  extended byinfovis.utils.IntVector
      extended byfr.inria.infovis.column.IntVector

public class IntVector
extends infovis.utils.IntVector

A new Dynamic IntVector with an insert method. Standard IntVector of INFOVIS ToolKit does not support the feature


Constructor Summary
IntVector()
           
 
Method Summary
 void insertAt(int index, int value)
          Insert a new element at the given position into the Dynamic int Array - ensure the capacity of the array if necessary - shift to the right all the element from index of one position - set the inserted value at index
 
Methods inherited from class infovis.utils.IntVector
add, clear, contains, get, getData, indexOf, isEmpty, pop, push, put, removeAt, reserve, reset, resize, set, setTop, size, toArray, toArray, top
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntVector

public IntVector()
Method Detail

insertAt

public void insertAt(int index,
                     int value)
Insert a new element at the given position into the Dynamic int Array - ensure the capacity of the array if necessary - shift to the right all the element from index of one position - set the inserted value at index

Parameters:
index - the position where the element must be inserted
value - the element to insert int the dynamic array