liujie
2026-01-26 753097b2693fec43c8bbbd766b8c1b32d73d7e43
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
package com.estate.expert.admin.utils;
 
 
import lombok.Builder;
 
/**
 * 元组
 */
@Builder
public class Tuple<X, Y> {
 
    /**
     * 第一个元素
     */
    public X x;
 
    /**
     * 第二个元素
     */
    public Y y;
 
    /**
     * 构造函数
     * @param x 第一个元素
     * @param y 第二个元素
     */
    public Tuple(X x, Y y) {
        this.x = x;
        this.y = y;
    }
}