public final void addElement(int element){
  if (m_Size == m_Objects.length) {
    int[] newObjects;
    newObjects=new int[m_CapacityMultiplier * (m_Objects.length + m_CapacityIncrement)];
    System.arraycopy(m_Objects,0,newObjects,0,m_Size);
    m_Objects=newObjects;
  }
  m_Objects[m_Size]=element;
  m_Size++;
}

public final void addElement ( int element ) { if ( m_Size == m_Objects . length ) { int [ ] newObjects ; newObjects = new int [ m_CapacityMultiplier * ( m_Objects . length + m_CapacityIncrement ) ] ; System . arraycopy ( m_Objects , 0 , newObjects , 0 , m_Size ) ; m_Objects = newObjects ; } m_Objects [ m_Size ] = element ; m_Size ++ ; }
adds an element to this vector . increases its capacity if its not large enough .
