for(int i=0;i<n; i++){
System.out.print("Entre com o nome:");
String name = sc.nextLine();
sc.nextLine();
System.out.print("Entre com o cpf");
long cpf = sc.nextLong();
if(list.contains(cpf)){//NÂO DA CERTO
System.out.print("Este cpf ja existe");
}else{
list.add(new ListaCpf(cpf, name));
}}
}