public Object[] toArray(){
  Object[] rv=new Object[delegate.size()];
  delegate.copyInto(rv);
  return rv;
}

public Object [ ] toArray ( ) { Object [ ] rv = new Object [ delegate . size ( ) ] ; delegate . copyInto ( rv ) ; return rv ; }
returns an array containing all of the elements in this list in the correct order .
