class Coordinate{ private int x; private int y; } List<Coordinate> list=new ArrayList<Coordinate>(); 标准做法