Add Pair.java

This commit is contained in:
Len
2022-09-27 00:02:27 +02:00
parent 3888298827
commit 00f4e00011
2 changed files with 54 additions and 0 deletions
@@ -0,0 +1,20 @@
package com.alttd.chat.util;
public class Pair<X, Y> {
private final X x;
private final Y y;
public Pair(X x, Y y) {
this.x = x;
this.y = y;
}
public X getX() {
return x;
}
public Y getY() {
return y;
}
}