private static <E> ImmutableList<E> copyOfInternal( Collection<? extends E> collection) { int size = collection.size(); return (size == 0) ? ImmutableList.<E>of() : ImmutableList.<E>createFromIterable(collection, size); }
private static <E> ImmutableList<E> copyOfInternal( Collection<? extends E> collection) { int size = collection.size(); return (size == 0) ? ImmutableList.<E>of() : ImmutableList.<E>createFromIterable(collection, size); }