public synchronized int capacity() {return elementData.length;}

public synchronized int capacity ( ) { return elementData . length ; }
public virtual int capacity(){lock (this){return elementData.Length;}}
