Java에는 튜플이 없다.그래서 만들어서 써야 한다!그래서 만들어보자! ===============================================================================================public class Tuple{private X x;private Y y;public Tuple(X x, Y y){this.x = x;this.y = y;}public X getX(){return x;}public Y getY(){return y;}public void setX(X x){this.x = x;}public void setY(Y y){this.y = y;}}=====================================================..