吉安感知网项目-后端
xiebin
2026-01-19 4e48664942bbefe70699ca43d25cbbd56ecc8daa
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 BiSupplier<T, T1> {
 
    T get(T1 t1);
 
    default Supplier<T> toSupplier(T1 t1) {
        return () -> get(t1);
    }
}