code: private static <E> List<E> toList(Iterable<E> iterable)
  	{
  		List<E> list = new ArrayList<>();
  		iterable.forEach(list::add);
  		return list;
  	}
docs: ----------------------------------------------------------------------------------------------------------------