ArrayList<Ergazomenos> erg = new ArrayList<Ergazomenos>(); ArrayList<Proistamenos> proist = new ArrayList<Proistamenos>(); copy(erg, proist);
import java.util.ArrayList; import java.util.Collections; Collections.copy(arrayList2,arrayList1); //alternatively copyOfList = new ArrayList<Proista>((ArrayList<Proista>)listOfErgozToCopy);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)