blob: 5d39e3d28eb9029f703e4881b37329071f3cba2e (
plain) (
blame)
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
|
package cuchaz.enigma.translation.mapping;
import cuchaz.enigma.translation.representation.entry.Entry;
import javax.annotation.Nullable;
public class MappingPair<E extends Entry<?>, M> {
private final E entry;
private M mapping;
public MappingPair(E entry, @Nullable M mapping) {
this.entry = entry;
this.mapping = mapping;
}
public MappingPair(E entry) {
this(entry, null);
}
public E getEntry() {
return entry;
}
@Nullable
public M getMapping() {
return mapping;
}
public void setMapping(M mapping) {
this.mapping = mapping;
}
}
|