code: public List<ElementType> toList() {
          List<ElementType> result = new ArrayList<ElementType>(size());
          for (ElementType e : this) result.add(e);
          return result;
      }
docs: Returns a new list with all the elements in order
  @return a list