feat: 组织架构相关接口提交
This commit is contained in:
@ -0,0 +1,20 @@
|
||||
package day.gitlab.dolphin.common.core.util;
|
||||
|
||||
public class Pair<T, E> {
|
||||
|
||||
private final T t;
|
||||
private final E e;
|
||||
|
||||
public Pair(T t, E e) {
|
||||
this.t = t;
|
||||
this.e = e;
|
||||
}
|
||||
|
||||
public T getFirst() {
|
||||
return t;
|
||||
}
|
||||
|
||||
public E getLast() {
|
||||
return e;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user