package com.github.qrokodial.sparkle.utilities.collections;

public class Tuple<X, Y> {
    public final X x;
    public final Y y;

    /**
     * Instantiates the class.
     *
     * @param x the X component of the tuple
     * @param y the Y component of the tuple
     */
    public Tuple(X x, Y y) {
        this.x = x;
        this.y = y;
    }

    /**
     * @return the X component of the tuple
     */
    public final X getX() {
        return x;
    }

    /**
     * @return the Y component of the tuple
     */
    public final Y getY() {
        return y;
    }
}

@@ -77,12 +77,12 @@
 ple%3C
-X, Y
+A, B
 %3E %7B%0A
@@ -98,19 +98,23 @@
 c final 
-X x
+A first
 ;%0A    pu
@@ -124,19 +124,24 @@
 c final 
-Y y
+B second
 ;%0A%0A    /
@@ -199,15 +199,24 @@
 ram 
-x the X
+first  the first
  com
@@ -253,15 +253,25 @@
 ram 
-y the Y
+second the second
  com
@@ -319,16 +319,25 @@
 ple(
-X x, Y y
+A first, B second
 ) %7B%0A
@@ -353,13 +353,21 @@
 his.
-x = x
+first = first
 ;%0A  
@@ -381,13 +381,23 @@
 his.
-y = y
+second = second
 ;%0A  
@@ -428,17 +428,21 @@
 urn the 
-X
+first
  compone
@@ -486,14 +486,18 @@
 nal 
-X
+A
  get
-X
+First
 () %7B
@@ -516,9 +516,13 @@
 urn 
-x
+first
 ;%0A  
@@ -553,17 +553,22 @@
 urn the 
-Y
+second
  compone
@@ -612,14 +612,19 @@
 nal 
-Y
+B
  get
-Y
+Second
 () %7B
@@ -643,9 +643,14 @@
 urn 
-y
+second
 ;%0A  

Make Tuple use 'first' and 'second' instead of 'X' and 'Y'