code: public List<T> getElements() {
  		ArrayList<T> list = new ArrayList<>(nodes.size());
  		for (Node<T> node : nodes)
  			list.add(node.element);
  		return list;
  	}
  	
  	/** Return the number of elements. */
  	public int size() { return nodes.size(); }
  	
  }
docs: Return a list of elements contained in the nodes.