mirror of
https://github.com/sigmasternchen/fibonacci
synced 2025-03-16 00:29:00 +00:00
27 lines
394 B
Java
27 lines
394 B
Java
package business;
|
|
|
|
public class Couple<T1, T2> {
|
|
private T1 v1;
|
|
private T2 v2;
|
|
|
|
public Couple(T1 v1, T2 v2) {
|
|
this.v1 = v1;
|
|
this.v2 = v2;
|
|
}
|
|
|
|
public T1 getV1() {
|
|
return v1;
|
|
}
|
|
|
|
public void setV1(T1 v1) {
|
|
this.v1 = v1;
|
|
}
|
|
|
|
public T2 getV2() {
|
|
return v2;
|
|
}
|
|
|
|
public void setV2(T2 v2) {
|
|
this.v2 = v2;
|
|
}
|
|
}
|