aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/api/objects/data/Triplet.java
blob: affb03d86847c1d28d9d8e756b6be2cc04a90a99 (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
25
26
27
package gtPlusPlus.api.objects.data;

public class Triplet<K,V,C> {

	private final K key;
	private final V value;
	private final C count;

	public Triplet(final K key, final V value, final C value2){
		this.key = key;
		this.value = value;
		this.count = value2;
	}

	final public K getValue_1(){
		return this.key;
	}

	final public V getValue_2(){
		return this.value;
	}

	final public C getValue_3(){
		return this.count;
	}

}