summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/util/Pair.java
blob: 95af113f1b29d8dfb202b7d740b21aee7fb80187 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package jrummikub.util;

/**
 * A pair of objects
 */
public class Pair<T1, T2> {
	final T1 first;
	final T2 second;
	
	public Pair(T1 first, T2 second) {
		this.first = first;
		this.second = second;
	}

	public T1 getFirst() {
		return first;
	}

	public T2 getSecond() {
		return second;
	}
	
	
}