Class ImmutableCopy

java.lang.Object
com.google.appengine.api.internal.ImmutableCopy

public final class ImmutableCopy extends Object
Makes immutable copies of collections using only standard Java classes.
  • Method Details

    • list

      public static <E> List<E> list(Collection<E> collection)
      Returns an immutable List with the same contents as the given collection. The List is guaranteed not to change even if the collection does.