Java List Copy copyList(List list)

Here you can find the source of copyList(List list)

Description

copy List

License

Open Source License

Declaration

public static <T> List<T> copyList(List<T> list) 

Method Source Code


//package com.java2s;
import java.util.ArrayList;

import java.util.List;

public class Main {
    public static <T> List<T> copyList(List<T> list) {
        return new ArrayList<T>(list);
    }/*from w  w  w.j a  va2s  .  c o  m*/
}

Related

  1. copyList(List objects)
  2. copyList(List source, List destination)
  3. copyList(List src)
  4. copyList(List list)
  5. copyList(List list)
  6. copyList(List list)
  7. copyList(List master, List slave)
  8. copyList(List original)
  9. copyList(Object object)