import java.util.ArrayList; public void function(){ ArrayList<type> myList = new ArrayList<>(); }
public ArrayList<Double> list = new ArrayList<>();