吉安感知网项目-后端
linwei
2026-01-27 8eefac7a9b2b6ac0e7b005e1ae4e3e0bdf8e3f7f
1
2
3
4
5
6
7
8
9
10
11
12
13
package org.sxkj.common.func;
 
import java.util.function.Supplier;
 
@FunctionalInterface
public interface TupleSupplier<T, T1, T2> {
 
    T get(T1 t1, T2 t2);
 
    default Supplier<T> toSupplier(T1 t1, T2 t2) {
        return () -> get(t1, t2);
    }
}