public Object[] elements(){
  Object[] objects=new Object[_elementOrder.size()];
  for (int i=0; i < _elementOrder.size(); i++) {
    objects[i]=_elements.get(_elementOrder.get(i));
  }
  return objects;
}

public Object [ ] elements ( ) { Object [ ] objects = new Object [ _elementOrder . size ( ) ] ; for ( int i = 0 ; i < _elementOrder . size ( ) ; i ++ ) { objects [ i ] = _elements . get ( _elementOrder . get ( i ) ) ; } return objects ; }
gets all the elements in the ordered list in the order in which they were entered .
