mirror of
https://github.com/darksaid98/EntityBingo.git
synced 2026-12-01 15:58:46 +00:00
pair object
This commit is contained in:
1 parent
e0b74dbcf9
commit
3cda771a13
1 file changed
+21
@@ -0,0 +1,21 @@
|
||||
package org.aubrithehuman.entitybingo.util;
|
||||
|
||||
public class Pair<U,V> {
|
||||
|
||||
private final U first;
|
||||
|
||||
private final V second;
|
||||
|
||||
public Pair(U first, V second) {
|
||||
this.first = first;
|
||||
this.second = second;
|
||||
}
|
||||
|
||||
public U getFirst() {
|
||||
return first;
|
||||
}
|
||||
|
||||
public V getSecond() {
|
||||
return second;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user