blob: fa2e52951e593d844086ca06f7d537996c4be1c3 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
package gtPlusPlus.api.objects.data;
import java.util.ArrayList;
import java.util.List;
public class Quad<K,V,C,R> {
private final K key;
private final V value;
private final C value2;
private final R value3;
public Quad(final K key, final V value, final C value2, final R value3){
this.key = key;
this.value = value;
this.value2 = value2;
this.value3 = value3;
}
final public K getKey(){
return this.key;
}
final public V getValue_1(){
return this.value;
}
final public C getValue_2(){
return this.value2;
}
final public R getValue_3(){
return this.value3;
}
public final List values() {
List<Object> aVals = new ArrayList<Object>();
aVals.add(key);
aVals.add(value);
aVals.add(value2);
aVals.add(value3);
return aVals;
}
}
|