@Override public synchronized boolean add(E object){
  if (elementCount == elementData.length) {
    growByOne();
  }
  elementData[elementCount++]=object;
  modCount++;
  return true;
}

@ Override public synchronized boolean add ( E object ) { if ( elementCount == elementData . length ) { growByOne ( ) ; } elementData [ elementCount ++ ] = object ; modCount ++ ; return true ; }
adds the specified object at the end of this vector .
