blob: 6ab781cf1e2e21ae32b2ab3400aea51444f2f894 (
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;
import java.io.Serializable;
public class Pair<K,V> implements Serializable {
/**
* SVUID
*/
private static final long serialVersionUID = 1250550491092812443L;
private final K key;
private final V value;
public Pair(final K key, final V value){
this.key = key;
this.value = value;
}
final public K getKey(){
return this.key;
}
final public V getValue(){
return this.value;
}
}
|