code: @SuppressWarnings("unchecked")
  	static <T> List<T> toList(final Iterable<? extends T> iterable)
  	{
  		if (iterable instanceof List)
  		{
  			return (List<T>) iterable;
  		}
  		return ImmutableList.copyOf(iterable);
  	}
docs: Return the specified iterable as a list.
  
  @paam <T> element type
  @param iterable iterable
  @return the specified iterable as a list